Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

When API service quits, peering service also must quit.

kishorencc0759f0d1b2f
diff --git a/src/typesense_server_utils.cpp b/src/typesense_server_utils.cpp
index 54b8c884..13cef5d2 100644
--- a/src/typesense_server_utils.cpp
+++ b/src/typesense_server_utils.cpp
@@ -345,6 +345,8 @@ int run_server(const Config & config, const std::string & version,
// we are out of the event loop here
+ LOG(INFO) << "Typesense API service has quit. Stopping raft service...";
+ quit_raft_service = true;
raft_thread.join();
curl_global_cleanup();