发明名称 |
RECOVERY OF A TRANSACTION AFTER XA END |
摘要 |
Embodiments of the present invention disclose a method for recovery of a two-phase commit transaction. A computer receives an end command prior to completing execution of a prepare command for a transaction identifier. The computer determines if a failure and restart occurred within a distributed data processing environment after a resource manager receives an end command. The computer responds to a determination that the failure and restart did occur within the distributed data processing environment by retrieving the first transaction identifier from a data store. The computer transmits a rollback command for the retrieved first transaction identifier to the resource manager. |
申请公布号 |
US2016292052(A1) |
申请公布日期 |
2016.10.06 |
申请号 |
US201615186568 |
申请日期 |
2016.06.20 |
申请人 |
International Business Machines Corporation |
发明人 |
Campbell Mark J.;Winn Geoffrey M. |
分类号 |
G06F11/14;G06F9/46 |
主分类号 |
G06F11/14 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for recovery of a two-phase commit transaction, the method comprising:
a computer receiving an end command prior to completing execution of a prepare command for a first transaction identifier; the computer determining if a failure and restart occurred within a distributed data processing environment after a resource manager receives an end command; responsive to determining that the failure and restart did occur within the distributed data processing environment, the computer retrieving the first transaction identifier from a data store; and the computer transmitting a rollback command for the retrieved first transaction identifier to the resource manager. |
地址 |
Armonk NY US |