Skip to content
All outages

Incident · Easy · Databases · Deployments

The upgrade that checked the wrong thing

  • SEV1
  • FRI 17:30 PT
  • PLANNED MAINTENANCE
90s

The situation

You run thousands of MySQL databases, each with one primary and two replicas. On Friday evening a planned maintenance upgrades the operating system on spare machines; the script checks each machine has no active data before reinstalling it. Within minutes the site goes down: some databases have lost both their primary and their replicas. Users' files are safe; photo sharing, camera uploads and parts of the API are not.

The evidence

Logs and signalsReconstructed
17:30maintenance: OS upgrade started on machines marked unused
17:31upgrade-script: verify no active data on db-host-2201 → ok → reinstall
17:32mysql db-cluster-0412: primary lost; replica lost
17:33site: down
17:40db-host-2201: was serving production traffic

Your call

Why did the upgrade reinstall machines that were serving production?

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

Last reviewed: Official postmortem· linked after you answer