Explain the term nonblocking protocol and explain why two-phase commit protocol is not a non- blocking protocol.
What will be an ideal response?
A nonblocking protocol should cater for both site and communication failures to ensure that the failure
of one site will not affect processing at another site. In other words, operational sites should not be left
blocked.
In the event that a participant has voted COMMIT but has not received global decision and is unable
to communicate with any other site that knows the decision, that site is blocked. Although 2PC has a
cooperative termination protocol that reduces the likelihood of blocking, blocking is still possible and
the blocked process will just have to keep on trying to unblock as failures are repaired.
You might also like to view...
There are three popular programming paradigms. They are:
a. Sequence, selection, and iteration b. Detail, summary, and exception. c. Visual, Object-oriented, and procedural. d. All of the above e. None of the above.
The link color should not be the same as the text color.
Answer the following statement true (T) or false (F)