Invention Grant
- Patent Title: Recovery of a transaction after XA end
-
Application No.: US14552971Application Date: 2014-11-25
-
Publication No.: US09400719B2Publication Date: 2016-07-26
- Inventor: Mark J. Campbell , Geoffrey M. Winn
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Isaac J. Gooshaw
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/14 ; G06F9/46 ; G06F11/30

Abstract:
Embodiments of the present invention disclose a method for recovery of a two-phase commit transaction. A computer transmits a first transaction identifier to a data store, wherein the first transaction identifier defines a two-phase commit transaction. The computer transmits a prepare command for the first transaction identifier to a first resource manager. The computer determines if a failure and restart occurred within a distributed data processing environment, wherein the failure and restart occurs after the first resource manager receives an end command, but prior to completing execution of the prepare command for the first transaction identifier. Responsive to determining the failure and restart did occur within the distributed data processing environment, the computer retrieves the first transaction identifier from the data store. The computer transmits a rollback command for the retrieved first transaction identifier to the first resource manager.
Public/Granted literature
- US20150309889A1 RECOVERY OF A TRANSACTION AFTER XA END Public/Granted day:2015-10-29
Information query