Semicolony ELI5 · comic

Split-brain.

Two captains both think they’re in charge after the radio cuts out.

  1. 1

    A healthy cluster: one leader, the rest follow its lead.

  2. Hello? Anyone?
    no contact
    2

    The network splits — the two halves can no longer reach each other.

  3. I’m in charge now.
    two captains
    3

    Each half assumes the leader is gone and elects its own. Two captains.

  4. x = 1 x = 2 drifting apart
    4

    Both accept writes, so the two sides drift into conflicting data.

  5. x = 1 x = 2 ? conflict to untangle
    5

    When the link heals, whose version is right? Now there’s a conflict to untangle.

  6. 3 — leads 2 — stands down
    6

    The fix: require a majority (quorum) to lead, so only one side ever can.

A partition makes two leaders; a majority rule makes sure it can’t.
Semicolony semicolony.dev/eli5/split-brain/comic
← All ELI5 explainers