Share via


Two-Pipe Resource Manager Commit Phase 1—Prepare

 

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

  1. When ITransaction::Commit is called, the transaction manager initiates phase one of the two-phase commit process.

  2. The transaction manager determines which XA resource managers have enlisted in the transactions and sends an xa_prepare_entry message, in parallel, to each.

  3. The XA resource manager prepares and then replies to the xa_prepare_entry message.

  4. When all of the resource managers on the system complete phase one, the transaction manager writes a prepared record to its log file. Phase one is now complete.