Site icon EfmSoft

What does HRESULT 0x0004D00A (XACT_S_LOCALLY_OK) mean?

 
Previous Next
XACT_S_SINGLEPHASE XACT_S_LASTRESOURCEMANAGER

XACT_S_LOCALLY_OK

Local transaction has not aborted

XACT_S_LOCALLY_OK is HRESULT 315402 (0x0004D00A) from winerror.h. Windows describes it as “The local transaction has not aborted.” The severity bit indicates a nonfailure result, but the value carries a specific condition that must not be collapsed into plain S_OK.

In the COM transaction and MSDTC protocol, this result means that the local transaction has not aborted. Handling is complete only after the caller verifies what work occurred and what remains outstanding.

What must be true before accepting it

Verify that the local resource remains valid while the distributed or coordinating outcome may still require observation. Failure to prove the boundary can make this result look healthy while the intended operation remains unfinished.

Classify the operation phase reached at this result before releasing objects or issuing replacement work.

Where the status is encountered

  • This result can be returned during ITransaction commit or abort processing; log the exact method and object state instead of interpreting the constant outside that contract.
  • It can be returned during resource-manager enlistment and coordinated outcomes; log the exact method and object state instead of interpreting the constant outside that contract.
  • It can be returned during transaction event-sink notification passes; log the exact method and object state instead of interpreting the constant outside that contract.

Evidence to preserve

  • Preserve local transaction identifier.
  • Preserve distributed unit of work.
  • Preserve local resource state.
  • Preserve remote participant states.
  • Preserve coordinator decision.

Correct handling and recovery

Treat this only as the local state. Continue waiting for the global transaction decision and avoid exposing local success as end-to-end commit.

Practical scenario

A bridge reports that the local database has not aborted while a remote resource is still resolving. The service keeps the operation pending until the coordinator decides.

References


Looking for a different code? Search another status or error code.

Exit mobile version