Protected Balance Read
The payment service reduces balance for account id = 1 in accounts by 100 using a read-then-change flow. Write a transaction: start it, read balance while locking that account row, deduct 100, then finish the transaction.
Logga in för att se historik över inskick
Logga inLogga in för att använda AI-mentorn
Logga in