Can a write_lock be acquired after a read_lock in Basic Two-phase locking

106 views Asked by At

For some S: T1: Read_lock(X), T1: R(X), T1: Write_lock(X), T1: W(X), Unlock(X), Commit

Is this allowed under BASIC 2PL?

It is my understanding that it isn't... What does "escalating" a lock mean? I can't seem to find the exact information I'm after.

0

There are 0 answers