π³οΈ Raft Cluster
Nodes β click to kill / restore
Network partition
Healthy
Split 2|3
Split 1|4
β Client write
βΊ Reset cluster
Current term 0
Leader electingβ¦
Committed entries 0
Alive nodes 5 / 5
Partition none β healthy
Every Follower counts down its own randomized election timeout . The first to expire becomes a Candidate , bumps its term , and requests votes; a node grants at most one vote per term. Reaching a real majority (3 of 5) makes it Leader , which then replicates log entries and marks them committed once acknowledged by a majority. Kill the leader, split the network, or write a client entry and watch the cluster recover β or, on the minority side of a partition, correctly refuse to.
Gold ring = Leader Β· amber pulse = Candidate Β· grey = Follower Β· dim red = offline. Small squares under each node are its log β green means committed.