|
|
|
|
|
by stuki
4396 days ago
|
|
And if two commands get stored in quick succession, such that the first results in a state that renders the second impossible? Particularly if some of the balance updates in the first command, are contingent on others ( credit line backing checking account updated if deposit balance < 0, for example )? Financial transactions are pretty much the poster child for atomic, multi update transactions and pessimistic locking. |
|
It is not the transaction itself that is hard, it is the network partition. E.g. what happens if two network partition approve transactions, that wouldn't have been accepted if there were no partitions.