Transactions and failure
First Claim
Patent Images
1. A system comprising:
- a re-do module which, if executed, instructs at least one processor to repeat a change committed by a transaction before a failure but not persisted due to the failure, the change being required by a resumed transaction, to allow the resumed transaction dependent on the change to execute successfully; and
an un-do module which, if executed, instructs at least one processor to revert a change interrupted by the failure during a transaction, the change being required by a resumed transaction, to allow the resumed transaction conflicting with the interrupted change to execute successfully.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed herein are techniques for system recovery. It is determined whether a transaction depends on a change committed before a failure. It is further determined whether a transaction conflicts with a change interrupted by the failure.
13 Citations
18 Claims
-
1. A system comprising:
-
a re-do module which, if executed, instructs at least one processor to repeat a change committed by a transaction before a failure but not persisted due to the failure, the change being required by a resumed transaction, to allow the resumed transaction dependent on the change to execute successfully; and an un-do module which, if executed, instructs at least one processor to revert a change interrupted by the failure during a transaction, the change being required by a resumed transaction, to allow the resumed transaction conflicting with the interrupted change to execute successfully. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable medium having instructions therein which, if executed, cause at least one processor to:
-
determine whether a resumed transaction depends on a change committed before a failure but not persisted due to the failure; if the resumed transaction depends on the committed change, redo the change and continue execution of the resumed transaction; determine whether the resumed transaction conflicts with a change interrupted by the failure; and if the resumed transaction conflicts with the interrupted change, revert the interrupted change and continue execution of the resumed transaction. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method, comprising:
-
determining, using at least one processor, whether a resumed transaction depends on a change committed before a failure but not persisted due to failure; if the resumed transaction depends on the change, repeating, using at least one processor, the committed change to allow the resumed transaction dependent thereon to execute successfully; determining, using at least one processor, whether the resumed transaction conflicts with a change interrupted by the failure; and if the resumed transaction conflicts with the interrupted change, reverting, using at least one processor, the interrupted change to allow the resumed transaction conflicting therewith to execute successfully. - View Dependent Claims (15, 16, 17, 18)
-
Specification