Why in two phase commit protocol does a participating site first write the decision in its log file before communicating it with the coordinator site?
A. to decide the fate of the transaction if a failure happens
B. to send the all the decisions at once to the coordinator site to reduce the cost.
C. both (a) and (b)
D. neither (a) nor (b)
Answer:A
Why in two phase commit protocol does a participating site first write the decision in its log file before communicating it with the coordinator site?
A. to decide the fate of the transaction if a failure happens B. to send the all the decisions at once to the coordinator site to reduce the cost. C. both (a) and (b) D. neither (a) nor (b)