News for hackers. Stuff that matters.
Re:Transactions Are Not Locks (2022) by nuttingd on Thursday October 26, 2023 @03:46PM (#38030806)
The check constraint solution isn't a solution to the concurrency issue: it only prevents a negative balance.

The balance would still be wrong for the whole range where balance > 0. Two (positive) deposits would not store the correct ending balance.

There are no comments on this comment yet.