Consider the following non serial schedule S:R1(A),R3(B),W1(A),W2(A),W2(B),W3(B)
Which of the following protocol allows this schedule?
A
Thomas write rule
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
Both (A) and (B)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Neither (A) nor (B)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Basic Timestamp protocol
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A Thomas write rule The order of TimeStamp is T1→T3→T2.
The timestamp ordering requires all the conflicts to be processed in the order of their timestamps.
W2(B)−W3(B) is violating time stamp order and the schedule is not possible under timestamp protocol, But allowed under Thomas Write Rule which ignores W3(B) called Obsolete Write.