Berildocs GitHub

Memory cards

Pre-vote stops a rejoining node from disrupting the leader

confidence: highupdated: 2026-11-25status: activedistributedraftelection

Claim#

A node with a stale term asks for votes before incrementing. A majority pre-vote prevents term inflation.

Test#

Partition a follower, restart it, rejoin. Watch the leader term.

Proof#

The leader stays stable through the rejoin.

Failure modes#

Pre-vote without a timeout can stall. A partition that heals mid-vote is subtle.