Recoverable asynchronous message driven processing in a multi-node system
First Claim
1. A computer-implemented method for performing actions in response to messages transmitted within a computer system, the method comprising the steps of:
- receiving within a queue a first message that notifies of a condition;
as a first transaction initiated by a first entity, performing first operations that include;
dequeueing the first message from the queue, and performing a first operation related to the condition;
wherein said first transaction terminates without being committed;
as a second transaction initiated by a second entity, performing second operations that include;
dequeueing the first message from the queue, and performing a second operation related to the condition; and
committing said second transaction.
1 Assignment
0 Petitions
Accused Products
Abstract
An approach provides for recovery of message driven directors responsible for dynamically allocating resources within a multi-node database system. The receipt of a message, the action taken in response to it, and other messages sent in furtherance of the action, are performed within a single transaction. In this way, the messages and other data are left in a state consistent with the message and action taken in response being fully processed or not processed at all. A standby director, stepping in for a crashed director, inherits a state consistent with where a crashed director last successfully completed an action. The approach insulates directors from the special perils of performing high latency actions by delegating the performance of such actions to a job, (i.e. another process).
-
Citations
13 Claims
-
1. A computer-implemented method for performing actions in response to messages transmitted within a computer system, the method comprising the steps of:
-
receiving within a queue a first message that notifies of a condition;
as a first transaction initiated by a first entity, performing first operations that include;
dequeueing the first message from the queue, and performing a first operation related to the condition;
wherein said first transaction terminates without being committed;
as a second transaction initiated by a second entity, performing second operations that include;
dequeueing the first message from the queue, and performing a second operation related to the condition; and
committing said second transaction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
Specification