mirror of
https://github.com/typesense/typesense.git
synced 2025-05-21 06:02:26 +08:00
Fix shutdown when node is terminated before becoming leader.
This commit is contained in:
parent
b70296e58f
commit
b3d1a48769
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user