CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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 T1T3T2.

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.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Concurrency Control Protocols Part - 5
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon