02Chapter 2: Crashes, partitions, and majority quorumsThis chapter assumes you know what nodes, messages, and network partitions are, and that you have read the previous chapter on replicated state machines. Here you learn what kinds of failures Raft tolerates and why a majority of servers is the unit that makes decisions.4 min read
03Chapter 3: Followers, candidates, leaders, and termsThis chapter assumes you know what a replicated state machine is and why a majority quorum tolerates crashes. It introduces the three roles a Raft server can hold and the logical clock, called a term, that orders them. Later chapters build elections and replication on top of these.3 min read
04Chapter 4: Electing a leader with RequestVoteThis chapter assumes you know what a replicated log is, how terms and the three roles (follower, candidate, leader) work, and that a majority quorum is more than half of the servers. You should also be comfortable reading short Python.4 min read
05Chapter 5: Replicating the log with AppendEntriesThis chapter assumes you know what a replicated log is and how terms and RequestVote produce a leader. Here you will follow one client command from the leader to its followers. How a leader repairs a follower whose log has diverged, and when an entry counts as committed, are covered in the next two 3 min read
06Chapter 6: Log matching and repairing divergent followersThis chapter assumes you know Raft's roles and terms, how RequestVote elects a leader, and how AppendEntries carries log entries from leader to follower. It also assumes you can read short Python. Here you will see how Raft keeps follower logs consistent with the leader's log, and how it repairs a f3 min read
07Chapter 7: When an entry is committed, and why it is safeThis chapter assumes you know Raft's roles and terms, how RequestVote elects a leader, and how AppendEntries replicates log entries. Here you learn when a leader may call an entry committed, and why committed entries never disappear.3 min read
08Chapter 8: Election timeouts, split votes, and pre-voteThis chapter assumes you know the Raft roles and terms, and how RequestVote grants at most one vote per term. It covers how timing decides who becomes a candidate, what happens when elections collide, and how pre-vote stops a partitioned server from disrupting a healthy cluster.3 min read
09Chapter 9: What must be written to disk before replyingThis chapter assumes you know the RequestVote and AppendEntries handlers from the earlier chapters. It also assumes you know that a server can crash and restart with its memory wiped.3 min read
10Chapter 10: Clients, duplicate requests, and linearizable readsThis chapter assumes you know the AppendEntries and commit rules from the earlier chapters. It also assumes you can read short Python. Raft's log and commit rules decide what the cluster agrees on. They do not say what a client should do when a request times out, or how to read data safely. Both pro3 min read
11Chapter 11: Snapshots and log compactionThis chapter assumes you know Raft's log replication, the commit index, and the persistent state a server must write before replying. It covers how a long-running cluster stops its log from growing forever.3 min read
12Chapter 12: Changing cluster membership safelyThis chapter assumes you have read the chapters on elections, log replication, and commitment. You should know that a majority quorum is more than half of the servers in the cluster, and that configuration changes travel through the replicated log like any other entry.3 min read