Balance Sees Committed Change
Write a transaction for accounts that reads balance for account id = 1 twice. If another operation increases that balance by 500 and commits between the reads, the second read must see the new value. Structure: start the transaction, read balance, read balance again, finish.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in