Skip to content
All outages

Incident · Easy · Consensus · Databases

The backup that removed a vote

  • SEV2
  • OVERNIGHT
  • DATABASE CLUSTER
90s

The situation

Your database cluster was built with an odd number of nodes so a majority can always elect one leader. Overnight, during the scheduled backup, the service becomes unstable: requests succeed, then fail, then succeed. The cluster's logs show two groups of nodes, each claiming to be the primary and making conflicting decisions. No node has crashed and the network looks normal.

The evidence

Logs and signalsReconstructed
02:00backup job: started on backup node
02:01backup job: downgrade/disconnect node db-3
02:01cluster: members 4 (was 5)
02:03group A (db-1, db-2): primary; group B (db-4, db-5): primary
02:05app: intermittent errors; conflicting cluster state decisions

Your call

Why did the cluster end up with two primaries?

Charts and logs are reconstructions. Aim for 90 seconds; going over costs nothing.

Last reviewed: Official postmortem· linked after you answer