MCQ · 2 marks · Transactions
GATE CS 2015 CS-3 — Q51
Consider the following partial Schedule involving two transactions and . Only the read and the write operations have been shown. The read operation on data item is denoted by read(P) and the write operation on data item is denoted by write(P).
| Time instance | T1 | T2 |
|---|---|---|
| 1 | read(A) | |
| 2 | write(A) | |
| 3 | read(C) | |
| 4 | write(C) | |
| 5 | read(B) | |
| 6 | write(B) | |
| 7 | read(A) | |
| 8 | commit | |
| 9 | read(B) |
Schedule S
Suppose that the transaction fails immediately after time instance 9. Which one of the following statements is correct?
Suppose that the transaction fails immediately after time instance 9. Which one of the following statements is correct?