Fix shutdown when node is terminated before becoming leader.

This commit is contained in:
Kishore Nallan 2021-04-26 19:01:32 +05:30
parent b70296e58f
commit b3d1a48769

View File

@ -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;
}