System InternalsLearn ↗RaftTICKCLIENT_APPENDPARTITIONHEAL

Raft — pick a scenario

0/4 done

Pick one and press Start, then click Next › to step through it.

Watch for

The term number bumping on each new election, and the old leader stepping down to follower when it heals — a higher term always wins.

More about this scenario
You'll learn

How Raft keeps one agreed-upon log across failures — leadership, majority commit, and recovery from a split.

How it runs

Ticks drive election timeouts until a leader wins a majority; client appends replicate to followers and commit once a majority store them; partitioning the leader forces a new election on the majority side; healing rejoins the old leader.