2 Phase Commit with and without failures
During Phase 1 of two-phase commit, what message does the coordinator send to all participants?
What are the two possible responses a participant can send after receiving a PREPARE message?
In the simulation, what happens to participants after they vote YES in Phase 1?
What determines whether the coordinator sends GLOBAL_COMMIT or GLOBAL_ABORT in Phase 2?
According to the protocol phases, when do participants release their locks?
In the failure scenario simulation, what causes a transaction to be aborted during Phase 1?
What is the consequence of coordinator failure during Phase 2 (after making the decision)?
In the context of recovery, what must a participant do if it finds 'READY' logged in its durable storage after restart?
Why is two-phase commit considered a 'blocking' protocol?