Data 0/11

Lesson 11 of 11

Consensus and leader election

Explain how Raft elects a leader and commits a log entry, and why a majority quorum prevents split brain.

1,800 words · 8 min read Ultra Premium Useful background: Replication, Consistency models

In this lesson

  1. Replicated decisions
  2. Leader election
  3. Committing an entry
  4. Votes and copies
  5. An inherited entry
  6. Test quorum safety
  7. The commit rule
  8. Leases and fencing
  9. What stays true
  10. Operational costs
  11. Common mistakes
  12. Related topics and practice

Ultra Premium

Unlock this lesson

Ultra Premium opens the 11 premium lessons in Data, along with the rest of WhiteBox's premium lessons and problems.

Not ready yet? Read the free lesson: Backpressure