Note
GitHub: a cleanup job watched replica lag, not the primary
A background cleanup job slowed down only when replicas fell behind. It filled all the connections on the primary, and 96% of web issue creation failed.
GitHub availability report: September 2026 (GitHub Blog) ↗
GitHub’s September report says a background data cleanup job loaded a shared database on 13 September. Its safeguard slowed writes when replicas fell behind, but did not look at load on the primary. The job ran until the primary ran out of connections. About 96% of web issue creation failed, and 90% of new sign-ups. Two more things made it worse: database calls had no short timeout, and a retry loop around token creation kept sending writes that were already failing.
Our opinion. We think a safeguard protects only against the signal it reads. A background job should stop on any of several signals: replica lag, primary connections, query latency. A request should give up quickly. And a retry loop around a write to a database that is failing keeps the database down.