Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_fail-split-brain-and-fencing

Split brain and fencing

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[![Split brain and fencing — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_fail-split-brain-and-fencing/opengraph-image)](https://archos.sageideas.dev/d/dgm_fail-split-brain-and-fencing)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_fail-split-brain-and-fencing)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_fail-split-brain-and-fencing" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Split brain and fencing — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0[("Client application")]
  zombie_1["Container runtime"]
  leader_2["Container runtime"]
  lock_3[("Consensus store")]
  storage_4[("PostgreSQL")]
  audit_5[("Audit log")]
  sink_6[("Client application")]
  client_0 -->|"1. Sends write · HTTPS"| leader_2
  leader_2 -->|"2. Token 34 · gRPC"| lock_3
  lock_3 -->|"3. Fences 34 · SQL"| storage_4
  storage_4 -->|"4. Logs fence · TCP"| audit_5
  audit_5 -->|"5. Safe commit · HTTPS"| sink_6
  zombie_1 -->|"33 rejected · SQL"| storage_4

COMPONENT STACK (7)

  • Client applicationSTATEFUL
    Writes during split
  • Container runtimeSTATELESS
    Paused zombie (tok 33)
  • Container runtimeSTATELESS
    New leader (tok 34)
  • Consensus storeSTATEFUL
    Raft quorum mints 34
  • PostgreSQLSTATEFUL
    Rejects tok 33 < 34
  • Audit logSTATEFUL
    Linearizable history
  • Client applicationSTATEFUL
    Zero split corruption

REQUEST & DATA FLOW (6)

  1. Client application → Container runtime (Sends write)[HTTPS]
  2. Container runtime → Consensus store (Token 34)[gRPC]
  3. Consensus store → PostgreSQL (Fences 34)[SQL]
  4. PostgreSQL → Audit log (Logs fence)[TCP]
  5. Audit log → Client application (Safe commit)[HTTPS]
  6. Container runtime → PostgreSQL (33 rejected)[SQL]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →