Two-phase commit (Two-phase transaction)
The Transaction commit has 2 phases:
Preparation phase - all the members of the distributed transaction are interrogated on commit end.
Commit phase -
If all the members are ready to commit transaction, the coordinator sends the commit order.
It is guaranteed that all the members of the distributed transaction stay in agreed circumstances.
|
|