Two-Pipe Resource Manager Commit Phase 2—Commit

 

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. The transaction manager writes the transaction commit record to the transaction manager log file.

  2. The transaction manager initiates phase two of the two-phase commit process. The transaction manager sends an xa_commit_entry message, in parallel, to each enlisted XA resource manager.

  3. The resource manager commits and then replies to the xa_commit_entry message.

  4. When all the resource managers on the system complete phase two, the transaction manager writes a forget record to its log file. Optionally, the transaction manager can do a lazy log file write to economize on log I/Os. The transaction manager then forgets the transaction.