Interview practice question
Two database nodes both think they are primary
Backend Engineering · Production Debugging · Experienced
After a network partition, monitoring shows two database nodes both accepted writes as primary. How do you respond?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Split brain: stop writes to one side immediately.
- Fence the wrong primary.
- Identify diverged writes on both sides.
- Reconcile data manually/with tooling.
- Fix failover config: quorum, fencing.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.