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
[](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_4COMPONENT STACK (7)
- Client applicationSTATEFULWrites during split
- Container runtimeSTATELESSPaused zombie (tok 33)
- Container runtimeSTATELESSNew leader (tok 34)
- Consensus storeSTATEFULRaft quorum mints 34
- PostgreSQLSTATEFULRejects tok 33 < 34
- Audit logSTATEFULLinearizable history
- Client applicationSTATEFULZero split corruption
REQUEST & DATA FLOW (6)
- Client application → Container runtime (Sends write)[HTTPS]
- Container runtime → Consensus store (Token 34)[gRPC]
- Consensus store → PostgreSQL (Fences 34)[SQL]
- PostgreSQL → Audit log (Logs fence)[TCP]
- Audit log → Client application (Safe commit)[HTTPS]
- Container runtime → PostgreSQL (33 rejected)[SQL]