Replicated Logs
Quorum and Availability
A majority can commit a shared prefix while a leader-only suffix remains uncommitted.
Quorum and availability
A majority can still commit even when one node contributes only an old prefix. Entries held by the leader and one follower reach quorum; a leader-only suffix does not. Note: the committed marker shows the boundary.
Two available copies
The quorum is 2, and the committedIndex is 3. Note: the stale node does not prevent the shared prefix from committing.
a simplified leader-based log replication; quorum commit + log repair are exact on these tiny clusters; full Raft safety, leader election (next book), and network partitions/timing are beyond these traces - no product claims.
Leader-only suffix
The leader has 4 entries, so the suffix after the committed marker is not committed. Note: one copy is not a quorum.
a simplified leader-based log replication; quorum commit + log repair are exact on these tiny clusters; full Raft safety, leader election (next book), and network partitions/timing are beyond these traces - no product claims.
Summary
Availability here means a majority is enough for the shared prefix, not for a leader-only suffix. Note: this is simplified leader-based replication; full Raft safety and leader election are the next book, while partitions and timing are beyond these traces.