Answers

Question and Answer:

  Home  Database Administrator (DBA)

⟩ Describe two phases of Two-phase commit?

Prepare phase - The global coordinator (initiating node) ask a participants to prepare (to promise to commit or rollback the transaction, even if there is a failure) Commit - Phase - If all participants respond to the coordinator that they are prepared, the coordinator asks all nodes to commit the transaction, if all participants cannot prepare, the coordinator asks all nodes to roll back the transaction.

 184 views

More Questions for you: