Distributed transaction processing system having resource managers that collaborate to decide whether to commit or abort a transaction in response to failure of a transaction manager
First Claim
Patent Images
1. A distributed transaction processing system comprising:
- a plurality of resources;
resource managers to manage corresponding ones of the resources;
a transaction manager to coordinate performance of a transaction with the resource managers,wherein in response to failure of the transaction manager, the resource managers are configured to collaborate to decide whether to commit or abort the transaction, wherein the collaborating comprises at least two of the resource managers communicating with each other, where the communicating includes a first of the at least two resource managers sending a first request to a second of the at least two resource managers to obtain a state of the transaction at the second resource manager, and the second resource manager sending a second request to the first resource manager to obtain a state of the transaction at the first resource manager; and
one or more processors, wherein the resource managers and transaction manager are executable on the one or more processors.
2 Assignments
0 Petitions
Accused Products
Abstract
A distributed transaction processing system includes a plurality of resources, resource managers to manage corresponding ones of the resources, and a transaction manager to coordinate performance of a transaction with the resource managers. In response to failure of the transaction manager, the resource managers are configured to collaborate to decide whether to commit or abort the transaction.
-
Citations
20 Claims
-
1. A distributed transaction processing system comprising:
-
a plurality of resources; resource managers to manage corresponding ones of the resources; a transaction manager to coordinate performance of a transaction with the resource managers, wherein in response to failure of the transaction manager, the resource managers are configured to collaborate to decide whether to commit or abort the transaction, wherein the collaborating comprises at least two of the resource managers communicating with each other, where the communicating includes a first of the at least two resource managers sending a first request to a second of the at least two resource managers to obtain a state of the transaction at the second resource manager, and the second resource manager sending a second request to the first resource manager to obtain a state of the transaction at the first resource manager; and one or more processors, wherein the resource managers and transaction manager are executable on the one or more processors. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method for use in a distributed transaction processing system, comprising:
-
providing resource managers to manage respective resources of the distributed transaction processing system; providing a transaction manager to coordinate performance of a transaction with the resource managers; configuring the resource managers with respective timeout conditions to cause the resource managers to timeout in response to failure of the transaction manager or any of the resource managers involved in the transaction; and collaborating, by the resource managers involved in the transaction that are executing on one or more processors, to complete the transaction based upon timeouts of the resource managers, wherein the collaborating comprises at least two of the resource managers sending requests to each other regarding a state of the transaction. - View Dependent Claims (14, 15, 16)
-
-
17. An article comprising at least one non-transitory computer-readable storage medium containing instructions that when executed cause a system having a processor to:
-
run resource managers to manage respective resources; coordinate, by a transaction manager, performance of a transaction that involves plural resource managers; detect failure of the transaction manager; and in response to detecting failure of the transaction manager, send requests by the plural resource managers to each other to obtain states of the transaction at the corresponding resource managers to complete the transaction. - View Dependent Claims (18, 19, 20)
-
Specification