The Order That Disappeared
Writes go to the primary, reads to a replica. Users sometimes place an order, are redirected to "My orders", and don't see it until they refresh a few seconds later.
What's the cause, and a common fix?
Choose one answer
The primary drops some writes; turn on synchronous commits there
The replica sorts rows differently; add an ORDER BY to the query
Async replication lags; read a user's own writes from the primary
The browser caches the old page; send a no-cache header with it