Method and apparatus for rolling back state changes in distributed transactions
AssigneeRed Hat, Inc.
InventorMark Cameron Little
Life of this patent
Estimating the term…
Abstract
During a distributed transaction, a computing device that hosts a participant of the distributed transaction intercepts an operation to change a resource from an initial state to a resultant state. The computing device determines an inverse operation that will change the resource from the resultant state back to the initial state. The computing device records the inverse operation and performs the operation.
Claims18
A computer implemented method of performing a distributed transaction, comprising:
- intercepting, by a computing device participating in distributed transaction, an operation to change a resource from an initial state to a resultant state during the distributed transaction;
- determining an inverse operation that will change the resource from the resultant state to the initial state by the computing device;
- recording the inverse operation;
- and
- performing the operation.
A computer readable storage medium including instructions that, when executed by a processing device, cause the processing device to perform a method comprising:
- intercepting, by a computing device participating in a distributed transaction, an operation to change a resource from an initial state to a resultant state during the distributed transaction;
- determining an inverse operation that will change the resource from the resultant state to the initial state by the computing device;
- recording the inverse operation;
- and
- performing the operation.
A computing apparatus, comprising:
- a memory including instructions for a transaction system;
- and
- a processing device, connected with the memory, to execute the instructions during a distributed transaction, wherein the instructions cause the processing device to:
- intercept an operation to change a resource from an initial state to a resultant state;
- determine an inverse operation that will change the resource from the resultant state to the initial state;
- record the inverse operation;
- and
- perform the operation.
Dependencies are inferred from the claim text.