Question: Consider the following locking protocol: Before a transaction T writes a data object A, T has to obtain an exclusive lock on A. For a
Consider the following locking protocol: Before a transaction T writes a data object A, T has to obtain an exclusive lock on A. For a transaction T, we hold these exclusive locks until the end of the transaction. If a transaction T reads a data object A, no lock on A is obtained. State which of the following properties are ensured by this locking protocol: serializability, conflict-serializability, recoverability, avoids cascading aborts, avoids deadlock. Justify your answer for each property.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
