Split-Brain
Updated 2026-08-08
Summary
A distributed systems failure in which a network partition splits a cluster into isolated groups that each act as the sole primary.
Definition
Split-brain occurs when a network partition divides a cluster into subgroups that cannot communicate, so each subgroup concludes it is the only survivor and continues accepting writes. When connectivity returns, the divergent states must be reconciled, and unresolvable conflicts can cause data loss or corruption. Standard defenses include quorum-based arbitration, which permits writes only from the subgroup holding a majority, heartbeat detection, and fencing mechanisms that forcibly revoke a stale leader's access. Key qualification: the failure is a property of the network, not of the software, so prevention must assume partitions will occur.
Introduction
How to use
- Require a quorum: let only the subgroup holding a majority accept writes at any moment. - Fence the loser: cut off the stale leader's access before it can cause further damage. - Plan the merge: define conflict resolution rules before a partition actually happens.
Mechanism
When nodes cannot communicate, each subgroup lacks evidence that the other exists and therefore cannot distinguish being the survivor from being the isolated fragment. Continuing to accept writes maximizes local availability but creates two divergent histories. Only an external arbiter or a majority rule can break the symmetry, which is why quorum requirements and fencing are the standard defenses.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Database clusters have produced duplicate writes when both halves of a partition believed they were primary.
- Coordination services such as ZooKeeper and etcd use quorum voting specifically to prevent split-brain.
- Organizations with disconnected executives issue contradictory directives that teams must later reconcile.
Common pitfalls
- Assuming the network will always stay connected, and therefore skipping quorum requirements.
- Allowing both sides of a partition to accept writes, which guarantees conflicting state.
- Restoring connectivity without a conflict-resolution plan, which leaves the divergent data unresolved permanently.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Split-brainverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS