Availability read causes oversell
Why it happens
Two buyers see the same available count.
Potential bug
Reservations exceed on-hand stock.
Mitigation
Lock/update invariant at reservation time; do not trust cache or earlier read.
Two buyers see the same available count.
Reservations exceed on-hand stock.
Lock/update invariant at reservation time; do not trust cache or earlier read.