An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account attempted simultaneous transfers of Rs. 10000 each from account to account . Both transactions read the same value, Rs.11000, as the initial balance in and were allowed to go through. was credited Rs.10000 twice. was debited only once and ended up with a balance of Rs. 1000.
Which of the following properties is/are certain to have been violated by the system?
GATE CSE 2025Databases › Transactions, Concurrency Control & IndexingVerified
GATE CSE 2025 PYQ: An audit of a banking transactions system has found that on an earlier occasion, two joint holders of…
- AAtomicity
- BConsistencyCorrect answer
- CIsolationCorrect answer
- DDurability
Answer
(B, C) Consistency; Isolation
Approach
Analyze the described concurrent execution against the ACID properties. The lost update indicates isolation failure; the altered financial totals indicate consistency violation. Atomicity and durability are not implicated because each transaction completed its operations and no crash or rollback occurred.
The simultaneous transfers caused a lost update on account A and credited B twice, breaking both serializability (Isolation) and the conservation of total funds (Consistency). Atomicity and Durability are not implicated by the given facts.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.