| Previous | Next |
| STATUS_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT | STATUS_TRANSACTION_NO_SUPERIOR |
STATUS_TRANSACTION_MUST_WRITETHROUGH
STATUS_TRANSACTION_MUST_WRITETHROUGH is a late-enlistment rule. The transaction has already completed pre-prepare, so KTM cannot safely accept the requested enlistment mask while the resource manager caches data under the old assumptions.
The status does not mean the entire transaction is corrupt. It tells the resource manager to switch to write-through behavior and stop caching data within that transaction; participation limited to later phases can still be possible when the enlistment contract permits it.
The resource manager is joining after pre-prepare
- Record the transaction phase and requested enlistment mask when the late enlistment was attempted.
- Review whether the resource manager can make its updates durable immediately without relying on deferred cached state.
- Do not simply replay the original enlistment request; revise the resource manager’s phase and caching behavior first.
References
- Microsoft: creating a KTM resource manager
- Microsoft: KTM enlistment objects
- Microsoft: KTM transaction notifications
Looking for a different code? Search another status or error code.