Databases · Real-world situation · Experienced
Replicas cause a double booking bug
A booking system checks availability on a read replica and then writes the booking to the primary. Occasionally two people book the same slot. Why, and how do you fix it?
2:00