← Back to Labs
Raft Consensus Under Failure
Walk one cluster through quorum commit, leader crash, election, log repair, and snapshot catch-up.
Step 1 / 8Stable leader, stable quorum
Amsterdam is the leader for term 12. Everyone already agrees through commit index 416, and Brussels is one entry behind but still healthy enough to follow the leader.
Quorum picture
5 voters, quorum size 3, leader is Amsterdam
Commit boundary
No new command yet. Commit index stays at 416.
Why this matters
Only Amsterdam may extend the log in term 12.
Visible traffic
No single RPC dominates this frame. The important state change is the node role and log position shown above.
Arrow keys to navigate · R to reset
Tap dots to jump to any step