Databases
Bug Report
Cache-aside served the old price for hours because a reader refilled the cache mid-update
Sellers changed prices and some product pages kept showing the old price until the one-day TTL expired. The update deleted the cache key, then wrote the database, and a concurrent reader refilled the cache in between. Timeline, reproduction and the three fixes we combined.