×

Data replication protocol

  • US 7,571,215 B2
  • Filed: 10/11/2001
  • Issued: 08/04/2009
  • Est. Priority Date: 07/16/2001
  • Status: Active Grant
First Claim
Patent Images

1. A method for replicating data over a network, the method comprising the steps of:

  • (a) before the replication is to be done, determining whether the replication should be accomplished in a one or two phase method based on setup information;

    (b) if the replication is determined to be accomplished in a one phase method, sending replication information determined to be accomplished in a one phase method by;

    sending a packet of information from the master server to the slave server, the information relating to a change in data stored on the master server and containing a version number for a present state of the data;

    thereafter, receiving the packet of information to a slave server;

    thereafter, allowing the slave server to determine whether the data on the slave server has been updated to correspond to the version number; and

    thereafter, requesting a delta be sent from the master server to the slave server if the slave server does not correspond to the version number, the delta containing information needed to update the slave server;

    (c) if the replication is determined to be accomplished in a two phase method, sending replication information determined to be accomplished in a two phase method by;

    sending a packet of update information from the master server to the slave server, the information relating to a change in the data stored on the master server and containing a version number for the present state of the data;

    thereafter, allowing the slave server to determine whether the slave server has been updated to correspond to the version number, and to further determine whether the slave server can process the packet of update information;

    thereafter, sending a signal from the slave server to the master server indicating whether the slave server needs to be updated and whether the slave server can process the packet of update information;

    thereafter, sending a response signal from the master server to the slave server indicating whether the slave server should commit to the packet of update information; and

    thereafter, committing the packet of update information to the slave server if so indicated by the response signal;

    wherein the update information is committed to all the slaves if all the slaves are able to commit the update information and the update information is not committed to any slave, if any slave is not able to commit the update information.

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