Question DB-CC-0041
MediumT1 holds a shared lock on X. T2 requests a shared lock on X. What happens?
- A.
T1 is aborted
- B.
Deadlock
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Concurrency Control question
T1 holds a shared lock on X. T2 requests a shared lock on X. What happens?
T1 is aborted
Deadlock
Sign up free to see the answer and a step-by-step explanation.
T2 waits
T2 gets the lock at once