×

Distributed database log recovery

  • US 9,058,371 B2
  • Filed: 11/07/2011
  • Issued: 06/16/2015
  • Est. Priority Date: 11/07/2011
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer program product storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising:

  • recording, in a data storage application, log entries for a plurality of transactions among nodes in a node hierarchy, the node hierarchy comprising a master node comprising a transaction coordinator and having a plurality of slave nodes, each slave node having a separate log at which its respective log entries are stored, the transaction coordinator storing respective prepare commit positions of each slave node in a commit record;

    replaying, prior to replay of log entries at the slave nodes, at least a portion of the master node log entries until a first replay position is reached, the first replay position comprising positions of respective commit log records at the slave nodes until which the slave nodes must replay their respective logs in order to come to a transactionally-consistent state with the master node;

    replaying, for each slave node and in response to at least one trigger from the master node, at least a portion of its respective log entries until the corresponding slave node reaches an end of its respective log prior to the first replay position;

    initiating, by the transaction coordinator of the master node in parallel to at least a portion of the replaying by the slave nodes prior to the first replay position, replay of at least a portion of its log entries subsequent to the first replay position; and

    discarding all log entries stored beyond the first replay position.

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