Database · Hard
What is split brain in a database cluster and how do you prevent it?
DatabaseDistributed SystemsStaff
Answer preview
Split brain is when a partition (or a false failure detection) leaves two nodes both believing they are the leader, each accepting writes. The data diverges irreconcilably, and since both sets of writes were acknowledged to clients, recovery means choosing which customers' data t…