Purpose
The Cmmt2PC parcel commits the current in-doubt transaction for a Two-phase commit session.
Usage Notes
CLIv2 creates this parcel at the direction of the coordinator.
Submit the Cmmt2PC parcel after a Success response has been returned for a VoteRequest parcel.
The return results are as follows:
- An Error parcel is returned if there is no transaction open for the session.
- A Failure parcel is returned if the current transaction is:
- Not in-doubt
- Not in Two-phase commit mode
- A Success parcel is returned if none of the mentioned conditions are true.
Parcel Data
Field information for Cmmt2PC is as follows:
Flavor Field | Body Parcel Length | Parcel Body Fields |
---|---|---|
117 | 0 | none |