Two-phase commit ensures that all sites agree on whether a transaction T should commit or abort. Assume there are three locations. C1 coordinates the transaction by sending the message Prepare T,...



Two-phase commit ensures that all sites agree on whether a transaction T should commit or abort.



Assume there are three locations. C1 coordinates the transaction by sending the message Prepare T, which is received by both C2 and C3. C2 and C3 then reply to C1 with Ready T. Only C2 contains the Commit T log record in its stable storage for some reason.




Assume C1 crashes immediately after 2 writes the required log entries to stable storage. C1 must perform certain activities throughout his recuperation. Explain the destiny of transaction T by listing the extra log entries on C2 and C3.




Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here