697 views
0 votes
0 votes
S:R1(x),w1(x),R2(x),R1(y),w2(x),C2,A1

why it is violating Ti->Tj condition?

1 Answer

1 votes
1 votes

2nd transaction reads the value that is updated by the first transaction and commit of second transaction is done first.

if there is any failure ocurs first tranaction is rollback but 2nd transaction we cannot because it is already commited.

so it is irrecoverable schdeule.

so commit of 2nd transaction is delayed until commit or rollback of first transaction

Related questions

0 votes
0 votes
2 answers
1
joshipratik232 asked Aug 16, 2022
468 views
Does Conservative 2PL ensures Recoverability ? If Yes then Does it ensures Cascadeless or Strict recoverable schedule ?
0 votes
0 votes
2 answers
4
Rackson asked Jan 7, 2019
623 views
Which of the following is used to get back all the transactions back after rollback?a)Rollbackb)Commitc)undo d)Redo