This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
Candidate reverts to follower during raft_transfer with pre_vote on #203
Labels
Bug
Confirmed to be a bug
Below some debug logging, basically server 1 wants to transfer leadership to 2 through
raft_transfer
, server 2 receives the TimeoutNow message, becomes candidate, doesn't increase it's term due topre_vote
, receives a heartbeat from 1 and converts back to follower, nullifying the effect of the attempted leadership transfer.The text was updated successfully, but these errors were encountered: