Concept
Split brain
Split brain is when two parts of a system each believe they are in charge and both accept writes. It usually follows a network cut or a long pause, after which the two sides hold different data that cannot be merged automatically. The defences are majority votes for choosing a leader and fencing tokens for refusing writes from a stale one.
Where you'll see it
Related concepts
Sources: Martin Kleppmann: How to do distributed locking (2016) ↗ · Apache ZooKeeper: recipes (locks, leader election) ↗ · Apache ZooKeeper programmer's guide: zxid and version numbers ↗ · Report a problem
The definition is in our own words; the sources are those of the lesson Split brain & fencing tokens.