Unit 10 of 12 · about 4 hours · explain

Partitions, asymmetric reachability, split-brain boundaries and correlated failure domains

A partition turns one cluster into two truths. This unit draws the line the minority must not cross, and names the shared fate that per-node thinking misses.

You'll be able to

  • Draw two-sided and one-sided partitions with asymmetric reachability, and say what each node may conclude.
  • State the split-brain boundary: which side may act under a majority rule, and what the minority must do.
  • Map nodes to failure domains and give one correlated fault that a per-node model misses.

Covers

Network partitions and asymmetric reachabilitySplit-brain prevention boundariesFailure domains and correlated faults
1

Read

In this order, only the parts listed

0 of 2 done

  1. Knowledge, majorities and system modelsDDIA 2e - Chapter 9 The Trouble with Distributed Systems

    Chapter 9, Knowledge, Truth, and Lies (pp. 371-372): guesses from messages and stating the model; The Majority Rules (pp. 372-373): quorum death declarations; System Model and Reality (pp. 380-384): synchronous, partially synchronous and asynchronous timing with crash-stop, crash-recovery, limping and Byzantine nodes

  2. Partition behavior on a real runGossip Glomers - Unique IDs and Broadcast

    Challenge 3c: five nodes with the partition nemesis; watch which nodes the checker still converges and which values wait for healing

    Read the run as a partition log, not only a pass. Note what no node could conclude mid-run about the other side.

2

Focus on

  • A partition is not death: both sides keep running with different knowledge. One-sided reachability is worse, since the cut-off node hears requests it can never answer.
  • Under a majority rule of more than half, only a side holding the majority may decide. With five nodes split 3 and 2, the 2 must stop deciding, even while fully healthy.
  • The book's model advice: design for partial synchrony with crash recovery, where delays, pauses and drift are usually bounded but sometimes arbitrarily large. Safety must survive the sometimes.
  • Failure domains are shared fate: one rack, switch, power feed or zone holds many nodes. The Systems unit on failure domains, correctness signals and safe rollout maps the practice; here learn the correlated cases it assumes, like a deploy or a config pushed everywhere at once.
Common mistakes · 3
  • Letting both sides serve writes and merge later without a plan. Without CRDTs or a stated conflict rule that is split brain with a nicer name.
  • Treating one peer's heartbeat as cluster connectivity. Reachability is pairwise and asymmetric; a green link to one node says nothing about the rest.
  • Counting live nodes instead of a fixed membership. A majority is out of all members, not out of the currently reachable ones, or two sides each claim it.
3

Try it yourself

Closed-book, before checking anything

Closed-book, apply the majority rule to five nodes: split 3 and 2 means only the 3 acts; after one more failure leaves 2 and 2, neither side holds 3, so both stop. State the general rule: with nodes, progress needs on one side.
4

Quiz yourself

Answer first, then mark it. Missed ones go to Review.

0 got · 0 missed

  1. 1.Node A hears B, B does not hear A, and both hear C. What can A conclude about B?Answer

    Only that its own messages to B go unanswered. B may be dead, partitioned one way, or merely slow; A must not declare B dead alone.

  2. 2.Seven nodes split 4 and 3. Which side decides, and what must the 3 do?Answer

    The 4 decides, holding more than half of 7. The 3 serves nothing that needs agreement and waits for healing or reassignment.

  3. 3.A rolling config push restarts every node within a minute. Per-node thinking says fine. What is wrong?Answer

    The restarts correlate: the fault shares one cause and one window. The cluster can lose majority together, which independent-failure math never predicts.

  4. 4.Why does the book call partial synchrony with crash recovery the most useful model?Answer

    It matches reality: timing usually holds but sometimes breaks without bound, and crashed nodes return with stable storage intact. Safety must hold in the bad intervals; only progress may wait them out.

5

Practice

You're done when

You apply the majority rule to any split without notes, and your PH-3 log shows the double-claim your fencing design must refuse.

Only when you can do this without notes.

Leads to

Notes

Resources · 2 for this unit, 12 more in the section
  • DDIA 2e - Chapter 9 The Trouble with Distributed SystemsMartin Kleppmann and Chris Riccomini · primary

    Read clocks, pauses, unreliable networks, partial failures and knowledge limits. For each failure, record what a node observes, what is true globally and what action is safe under that uncertainty.

  • Gossip Glomers - Unique IDs and BroadcastFly.io and Jepsen · required

    Each challenge runs locally under Maelstrom (v0.2.4; the pages were tested on 0.2.3) with its checker and, where the page says so, the partition nemesis; keep the run directory as the history. Do challenge 2 (unique IDs under partition with total availability) and 3a to 3c (broadcast, then with partitions). A pass shows uniqueness or convergence in that run, not ordering or recency.

Also in this section