Question: Suppose two-phase locking is used, but exclusive locks are released early, that is, locking is not done in a strict two-phase manner. Give an example
Suppose two-phase locking is used, but exclusive locks are released early, that is, locking is not done in a strict two-phase manner. Give an example to show why transaction rollback can result in a wrong final state, when using the log based recovery algorithm.
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
Consider two transactions T1 and T2 both of which read and wri... View full answer
Get step-by-step solutions from verified subject matter experts
