Transaction manager freezing
First Claim
1. A system, comprising:
- one or more processors;
memory coupled to the one or more processors and configured to store program instructions executable by the one or more processors to implement a transaction manager, wherein the transaction manager is configured to;
manage a plurality of transactions initiated by one or more applications, wherein each transaction comprises a plurality of operations to one or more data sources that are required to be committed to the one or more data sources atomically for each respective transaction;
pause currently executing ones of the plurality of transactions managed by the transaction manager in response to a pause request to pause the transaction manager, wherein while paused, the transaction manager does not allow any of the plurality of transactions managed by the transaction manager to complete;
allow the execution of each of the plurality of transactions managed by the transaction manager within a respective current state while the transaction manager is paused; and
resume execution of the paused ones of the plurality of transactions managed by the transaction manager in response to a resume request.
2 Assignments
0 Petitions
Accused Products
Abstract
A transaction manager may be paused so that the transactions it manages are prevented from making transaction state changes. While the transaction manager is paused, the transactions that the transaction manager is executing may not be allowed to complete. A transaction manager may be configured to obtain permission from a transaction freeze manager in order to transition the state of a transaction. The transaction freeze manager may function as a read/write lock manager controlling locks on a transaction freeze object. In servicing a transaction state transition request, the transaction freeze manager may grant the transaction manager a read lock on the transaction freeze object. In servicing a transaction manager pause request, the transaction freeze manager may grant an administrative entity a write lock on the transaction freeze object.
83 Citations
35 Claims
-
1. A system, comprising:
-
one or more processors; memory coupled to the one or more processors and configured to store program instructions executable by the one or more processors to implement a transaction manager, wherein the transaction manager is configured to; manage a plurality of transactions initiated by one or more applications, wherein each transaction comprises a plurality of operations to one or more data sources that are required to be committed to the one or more data sources atomically for each respective transaction; pause currently executing ones of the plurality of transactions managed by the transaction manager in response to a pause request to pause the transaction manager, wherein while paused, the transaction manager does not allow any of the plurality of transactions managed by the transaction manager to complete; allow the execution of each of the plurality of transactions managed by the transaction manager within a respective current state while the transaction manager is paused; and resume execution of the paused ones of the plurality of transactions managed by the transaction manager in response to a resume request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
one or more processors; and memory coupled to the one or more processors and configured to store program instructions executable by the one or more processors to implement one or more application servers, wherein each one or more application servers is configured to; run one or more applications each configured to initiate one or more transactions, wherein each of the one or more transactions comprises a plurality of operations to one or more data sources that are required to be committed to the one or more data sources atomically for the transaction; and provide one or more transaction managers configured to manage the one or more transactions initiated by the one or more applications, wherein one of the one or more transaction managers is configured to; pause one or more of the one or more currently executing transactions in response to a pause request, wherein the one of the one or more transaction managers does not allow the one or more transactions that have been paused to complete while paused; allow the execution of the one or more transactions that have been paused within a respective current state while paused; and resume one or more of the one or more transactions that have been paused in response to a resume request.
-
-
14. A computer-implemented method, comprising:
using one or more computers to perform; generating a request to pause a transaction manager; pausing the transaction manager in response to said request, wherein while the transaction manager is paused, transactions currently executing and managed by the transaction manager are prohibited from completing, wherein the transactions are initiated by one or more applications; allowing the execution of the transactions managed by the transaction manager within a respective current state while the transaction manager is paused; generating a request to resume the transaction manager; and resuming the transaction manager in response to said request, wherein when the transaction manager is resumed, paused transactions managed by the transaction manager are allowed to complete, wherein each transaction managed by the transaction manager comprises a plurality of operations to one or more data sources that are required to be committed to the one or more data sources atomically for each respective transaction. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
25. A computer-readable storage medium storing program instructions, wherein the program instructions are computer-executable to:
-
generate a request to pause a transaction manager; pause a plurality of transactions managed by the transaction manager in response to said request to pause the transaction manager, wherein while the transaction manager is paused, the plurality of currently executing transactions managed by the transaction manager are prohibited from completing, wherein the plurality of transactions are initiated by one or more applications, wherein each transaction comprises a plurality of operations to one or more data sources that are required to be committed to the one or more data sources atomically for each respective transaction; allow the execution of each of the plurality of transactions managed by the transaction manager within a respective current state while the transaction manager is paused; generate a request to resume the transaction manager; and resume the plurality of transactions managed by the transaction manager in response to said resume request, wherein when the transaction manager is resumed, the plurality of paused transactions managed by the transaction manager are allowed to complete. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
Specification