🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Concurrency Control: all 10 questions

Quiz: Concurrency Control · Question 9 of 10

Timestamp ordering: TS(T5) = 5 wants to write X, but readTS(X) = 8. What happens?

Timestamp ordering: TS(T5) = 5 wants to write X, but read_TS(X) = 8. What happens?

  1. A.The write goes ahead
  2. B.The write is ignored by the Thomas write rule
  3. C.T5 waits for T8
  4. D.T5 is aborted
Answer & explanation

Correct answer: T5 is aborted

A younger transaction (8) already read X, so an older write now would break timestamp order.

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 →