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.
Prisijunkite, kad matytumėte pateikimų istoriją
PrisijungtiPrisijunkite, kad naudotumėte DI mentorių
Prisijungti