One Leader, Many Witnesses: Consensus and Leader Election, Explained Like You're New
Your database cluster has three machines. The leader dies mid-write. In the next two seconds, two different replicas each conclude that they are in charge, accept writes the other never sees, and your