How many node failures can a 5-node Raft cluster tolerate while still committing writes, and what happens beyond that?
- Two: a majority of 3 must acknowledge. With three nodes down there is no quorum, so writes stop (reads may be served stale depending on configuration) rather than risking split brain. Majority quorum is ⌊n/2⌋+1 = 3; losing quorum halts writes by design.
- Three, if the remaining two are in the same zone. Quorum is by node count, not zone adjacency.
- Two, and beyond that the cluster elects a new leader among survivors and continues. A minority cannot elect a leader; that is exactly what prevents split brain.
- Four, since only one node needs to hold the data. Consensus requires a majority to agree, not one surviving copy.
Two failures: three of five nodes must agree, and with only two left the cluster stops writes instead of risking split brain.
Halting on quorum loss is a feature: it chooses consistency over availability during partitions. The operational consequence is that quorum placement (zones, regions) determines both write latency and what failure takes the system down.
Saying the survivors 'elect a new leader and carry on'. A minority cannot elect a leader; that is the whole point.