Consensus & Leader Election

Split brain

A network partition isolates two database nodes; both promote themselves primary and accept writes for 90 seconds until the partition heals. How do you prevent this in design, and what fencing or quorum rules would you cite?

Advanced drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson