How the DTC Handles Computer Failures
Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista
If a computer fails and then restarts, the transaction manager at that computer normally determines the outcome of all in-doubt transactions. The following list includes the actions that a transaction manager ordinarily takes after a failure:
For transactions for which it was the commit coordinator, the transaction manager reads its log file to determine the outcome.
For incoming transactions from other systems, the transaction manager reads the log file to determine whether it was previously notified of the outcome of the transaction.
For incoming transactions that remain in doubt, the transaction manager queries the incoming transaction manager to learn the outcome of the transaction.
The transaction manager also responds to queries from other transaction managers regarding in-doubt outgoing transactions sent to them. This is similar to the protocol that transaction managers and resource managers follow at restart. The transaction manager determines the outcome of each in-doubt transaction and, when asked, tells the resource managers the transaction outcome.
See Also
DTC Event Messages
DTC Transaction States
Example: Transaction Resolution After System Failure
Transaction State Resolution After System Failure