3.3.5.4.1 Receiving a TXUSER_DTCLURECOVERYINITIATEDBYDTC_MTAG_GETWORK Message

When the Transaction Manager Communicating with an LU 6.2 Implementation Facet receives a TXUSER_DTCLURECOVERYINITIATEDBYDTC_MTAG_GETWORK message, it MUST perform the following actions:

  • If the connection state is Idle:

    • Set the connection state to Processing Work Query.

    • Attempt to find the LU Pair object keyed by the value of the first cbLength bytes of the rgbBlob field of the DTCLU_VARLEN_BYTEARRAY structure (contained in the LuNamePair field) of the message in the LU Pair Table.

    • If the LU Pair object is not found:

    • Otherwise, if the LU Pair object is found:

      • Set the LU Pair field of the connection object to the LU Pair object found in the LU Pair Table.

      • Set the Recovery Sequence Number For Connection field of the connection object to the Recovery Sequence Number field of the LU Pair object referenced by the connection.

      • Add the connection object to the Local LU Initiated Recovery List.

      • Signal the Recovery Work Ready event with the following arguments:

        • The LU Pair object referenced by this connection

        • A Recovery Work Ready Reason of Miscellaneous

  • Otherwise, if the connection state is Ended (section 3.3.1.5.20):

    • Ignore the message.

  • Otherwise, the message MUST be processed as an invalid message, as specified in [MS-DTCO], section 3.1.6.