3.4.7.3 Begin Commit

The Begin Commit event MUST be signaled with the following arguments:

If the Begin Commit event is signaled, the transaction manager MUST perform the following actions:

  • If the enlistment connection is of type CONNTYPE_TXUSER_IMPORT (section 2.2.8.2.2.4):

    • Set the connection state to Ended.

  • Otherwise, if the enlistment connection is of type CONNTYPE_TXUSER_IMPORT2 (section 2.2.8.2.2.5) or CONNTYPE_TXUSER_ASSOCIATE (section 2.2.8.2.1.1):

    • Send a TXUSER_IMPORT2_MTAG_SINK_ERROR (section 2.2.8.2.2.5.4) message:

      • The Error field MUST be set to TRUN_TXIMPORT_ERROR_NOTIFY_COMMITTED.

    • Set the connection state to Ended.