Limited Offer

30% OFF Lifetime Access ($139) with code SYSTEM30

TOPIC #91Advanced 8 min read

Split-Brain & Fencing Mechanisms

💡
Core Architecture Summary

Prevent catastrophic dual-master partition states: Majority quorums, STONITH (Shoot The Other Node In The Head), and generation epochs.

Key Glossary Concepts in this TopicAll Glossary Terms

01.1. The Split-Brain Disaster in Distributed Systems

In distributed architectures with primary-follower or active-passive topologies, high availability depends on automatically promoting a standby node to primary whenever the active primary crashes.

However, consider what happens when a network partition severs communication between two datacenters (e.g., Datacenter 1 and Datacenter 2) while all individual machines remain healthy:

  • Datacenter 1 (Old Master): Believes Datacenter 2 is down and continues accepting client writes.
  • Datacenter 2 (Standby): Heartbeats from Datacenter 1 time out; Datacenter 2 assumes the primary has crashed and promotes its local node to Primary.
  • The Split-Brain State: Both nodes now believe they are the authoritative Primary. Both accept conflicting INSERT, UPDATE, and DELETE transactions from clients.

When the network partition heals, the two database datasets have diverged irreparably with conflicting primary keys and modified balances, resulting in irrecoverable data corruption.

Split-Brain Anomaly & Quorum Prevention 🧠

PRO Architecture Blueprint

Split-Brain Anomaly & Quorum Prevention 🧠

Network partition isolates Node A from Nodes B & C.

Split-Brain Anomaly & Quorum Prevention 🧠
100%
Rendering visual architecture flowchart...
PRO & LIFETIME CURRICULUM

Unlock Topic #91: Split-Brain & Fencing Mechanisms

You are viewing a preview. The full in-depth engineering deep dive, interactive simulators, architecture flowcharts, and self-assessment quizzes for this topic are available with Pro or Lifetime Access.

Production Deep Dive

Failure modes, high-throughput bottlenecks, and real FAANG implementation decisions.

Interactive Blueprints

Interactive system topology diagrams, live parameter simulators, and downloadable SVG charts.

Knowledge Assessment

Staff-level multiple-choice quiz questions with instant feedback and answer explanations.

Cross-Device Progress Sync

Firebase Google authentication automatically syncs your completed topics and quiz scores.

Rate This Architecture Chapter4.9 / 5.0 (38 ratings)

How clear and staff-actionable was this system breakdown?