• Used in distributed transaction

Preparing Phase (Voting)

  • Ask all participants to see if they can commit the tx

Commit Phase (Decision)

  • commit or rollback based on the answer

Note

  • Can not tolerant failure.