You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to implement a raft in c++. In this version, before election, the candidate send a query to others to check whether the leader is alive, when receives enough positive answers, then starts sending votes.
However, this optimization may delay the discovery of leader failure, since everyone must wait until majority of followers is timeout.
Hope this helps.
Use a pre-vote to avoid disrupting a stable cluster when possible
The text was updated successfully, but these errors were encountered: