← Quiz: Concurrency Control: all 10 questions
Quiz: Concurrency Control · Question 8 of 10
Wait-die scheme: a YOUNGER transaction asks for a lock held by an OLDER one. What happens?
Wait-die scheme: a YOUNGER transaction asks for a lock held by an OLDER one. What happens?
- A.The older transaction is aborted
- B.The younger transaction waits
- C.The younger transaction dies (aborts and restarts later)
- D.Both are aborted
Answer & explanation
Correct answer: The younger transaction dies (aborts and restarts later)
In wait-die, only older transactions wait; younger requesters die.
Can you get the rest right without peeking?
Take the timed Quiz: Concurrency Control quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →