1 |
OSI TP is defined in December 1992 specifies the two-phase commit protocol with the following steps:
-
Transaction coordinator sends prepare-to-commit message to all subordinate node which might propagate this message also.
-
TM waits until it receives ready-to-commit message from all subordinates.
-
TM sends commit message to all subordinates.
-
TM collects the results and informs the client.
-
If TM receives a refuse message, then transaction aborts and sends rollback message to all subordinates.
|