×

Rolling cache configuration for a data replication system

  • US 7,661,028 B2
  • Filed: 12/18/2006
  • Issued: 02/09/2010
  • Est. Priority Date: 12/19/2005
  • Status: Active Grant
First Claim
Patent Images

1. A system for facilitating data synchronization following a network failure in a data replication environment, the system comprising:

  • a plurality of log entries representing data management operations generated by an application on a source computer for data stored on a first storage device, each of the plurality of log entries including a unique identifier, wherein one or more of the plurality of log entries identify at least one known good state of the application;

    a cache memory configured to store a portion of the plurality of log entries such that when a size of the portion of log entries exceeds a storage threshold of the cache memory, the cache memory deletes one or more of the least recently received log entries until the size is less than the storage threshold;

    at least one destination computer configured to process the plurality of log entries to replicate data to a second storage device, the at least one destination computer being further configured to record the unique identifier of a most recently processed log entry, wherein the destination computer processes the log entries to create replicated data that replicates the data stored on the first storage device, the replicated data on the destination computer being a recoverable copy at the known good state of the application on the source computer; and

    at least one replication routine configured to sequentially retrieve each of the plurality of log entries from the cache memory and to forward each log entry to the at least one destination computer without waiting for an acknowledgement from the at least one destination computer;

    wherein when the destination computer needs to resynchronize, a replication thread uses the unique identifier of the most recently processed log entry recorded on the destination computer, to locate a log entry in the cache memory that occurs after the most recently processed log entry; and

    wherein when the cache memory no longer has a copy of the log entry that occurs after the most recently processed log entry, a mirror operation is performed to synchronize the data stored on the source computer with the data stored on the destination computer.

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