Grokking Operating Systems and Networking for Backend Engineers
Vote

0% completed

​

Incident: The Failover Nobody Noticed

The database team's failover goes exactly as planned. The primary database, db-a, is demoted to a replica, the replica db-b is promoted, and the name db.checkout.internal now points to db-b. The team checks that db-b accepts writes and closes the change.

Twenty minutes later, Checkout is still sending every order to db-a, and db-a rejects every one of them with ERROR: cannot execute INSERT in a read-only transaction. The database looks healthy, DNS gives the right answer, and Checkout's code has not changed. Restarting Checkout makes the errors stop at once.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content