×

Mechanism for ensuring processing of messages received while in recovery mode

  • US 7,631,071 B2
  • Filed: 01/23/2004
  • Issued: 12/08/2009
  • Est. Priority Date: 01/23/2004
  • Status: Active Grant
First Claim
Patent Images

1. In a computing system that includes one or more processors, persistent media configured to store information that persists through power loss of the computing system, and system memory that is directly accessed by the one or more processors, the computing system having applications running multiple instances of the application, the instances of the application having both a normal mode and a recovery mode, a method for permitting an instance of an application to operate in recovery mode while ensuring reliable message processing for messages received during the recovery mode operations of the instance governing a transaction, wherein a transaction is an exchange of messages following a particular message exchange pattern with a particular client system, the method comprising the following:

  • a step for the computing system engaging in multiple concurrent transactions with at least one client computing system, wherein each of the multiple transactions has an associated instance of an application, each instance having an associated mode distinct from the mode of the other instances;

    an act of receiving a message corresponding to a particular message transaction from among the multiple transactions, wherein the message is a normal message suitable for normal mode operations with respect to the particular message transaction and an instance of an application governing the particular message transaction is in the recovery mode rather than the normal mode;

    upon receiving the message, an act of determining from state information corresponding to the particular message transaction that the instance of an application governing the particular message transaction is in the recovery mode rather than the normal mode;

    an act of determining that the received message is a normal message suitable for normal mode operations with respect to the particular message transaction, wherein the received message cannot be processed by the instance governing the particular message transaction until the instance governing the particular message transaction is in the normal mode;

    an act of placing the received message into a persistent queue associated with the instance governing the particular transaction for later processing when the instance governing the particular transaction is in the normal mode rather than the recovery mode, wherein messages related to other transactions continue to be processed if they are in the normal mode; and

    an act of completing recovery mode operation for the instance governing the particular transaction.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×