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

Fix shutdown when node is terminated before becoming leader.

Kishore Nallanb3d1a487699a
diff --git a/include/raft_server.h b/include/raft_server.h
index 7b36b5ef..68ad8c0a 100644
--- a/include/raft_server.h
+++ b/include/raft_server.h
@@ -230,7 +230,6 @@ private:
void on_leader_start(int64_t term) {
leader_term.store(term, butil::memory_order_release);
- refresh_catchup_status(true);
LOG(INFO) << "Node becomes leader, term: " << term;
}