Method and system for replication in a hybrid network
First Claim
1. A method of replicating data between a first multiple master server and a second multiple master server, said first and second multiple master servers in a hybrid network having a plurality of multiple-master servers and a plurality of single-master servers, wherein furthermore, the first multiple master server is emulating a primary server for replication by the plurality of single master servers in the hybrid network, the method comprising:
- updating the first multiple master server from the second multiple master server;
updating the second multiple master server from first multiple master server;
copying a change-log of the first multiple master server to a temporary copy on the second multiple master server, the change-log representing a time dependent order of the history of replication changes that have occurred on the first multiple master server and including information about replications with multiple master servers other than the second multiple master server;
setting a checkpoint-flag if no changes were made to either server during said updating steps; and
adopting the temporary copy of the change-log of the first multiple master server on the second multiple master server as the change-log of the second multiple master server if the checkpoint-flag is set.
2 Assignments
0 Petitions
Accused Products
Abstract
Method and system for networking multiple-master servers, including multiple-master servers, with single-master servers are described. A checkpoint-flag is used to identify a state when the same changes are present in the change-log of a first multiple-master server, which is emulating a primary server for the single master servers in the network, and a second multiple master server in the network. This done by identifying a replication cycle in which no changes are made to either the first multiple-master server or the second multiple master serve. The change-log of the first multiple master server is adopted by the second multiple master server, thus ensuring that the multiple master server in the network have their change-logs converge to reflect the order in the change-log of the multiple master server emulating a primary server. Thus any of the multiple master servers can takeover the task of the primary server in the event such a promotion is required without inconveniencing the single master servers in the network. This strategy helps in realization of hybrid networks that retain both single master and multiple master functionality and, moreover, facilitate a smooth and economical switch to a multiple master server based network from a single master server based network.
61 Citations
19 Claims
-
1. A method of replicating data between a first multiple master server and a second multiple master server, said first and second multiple master servers in a hybrid network having a plurality of multiple-master servers and a plurality of single-master servers, wherein furthermore, the first multiple master server is emulating a primary server for replication by the plurality of single master servers in the hybrid network, the method comprising:
-
updating the first multiple master server from the second multiple master server;
updating the second multiple master server from first multiple master server;
copying a change-log of the first multiple master server to a temporary copy on the second multiple master server, the change-log representing a time dependent order of the history of replication changes that have occurred on the first multiple master server and including information about replications with multiple master servers other than the second multiple master server;
setting a checkpoint-flag if no changes were made to either server during said updating steps; and
adopting the temporary copy of the change-log of the first multiple master server on the second multiple master server as the change-log of the second multiple master server if the checkpoint-flag is set. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer readable medium computer-executable instructions for performing the steps for replicating data between a first multiple master server, said server emulating a primary server for the benefit of a plurality of single master servers, and a second multiple master server in a hybrid network, said hybrid network having a plurality of multiple-master servers and the plurality of single-master servers, the steps comprising:
-
updating the first multiple master server from the second multiple master server;
updating the second multiple master server from first multiple master server;
copying a change-log of the first multiple master server to a temporary copy on the second multiple master server, the change-log representing a time dependent order of the history of replication changes that have occurred on the first multiple master server and including information about replications with multiple master servers other than the second multiple master server;
setting a checkpoint-flag if no changes were made to either server during said updating steps; and
adopting the temporary copy of the change-log of the first multiple master server on the second multiple master server as the change-log of the second multiple master server if the checkpoint-flag is set. - View Dependent Claims (16, 17)
-
-
18. A method of replicating data between a first multiple master server and a second multiple master server, said first and second multiple master servers in a hybrid network having a plurality of multiple-master servers and a plurality of single-master servers, wherein furthermore, the first multiple master server is emulating a primary server for replication by the plurality of single master servers in the hybrid network, the method comprising:
-
updating the first multiple master server from the second multiple master server;
updating the second multiple master server from first multiple master server;
determining if no changes were made to either server during said updating steps; and
adopting a change log of first multiple master server as a change log of the second multiple master server if no changes were made, the change-log of the first multiple master server representing a time dependent order of the history of replication changes that have occurred on the first multiple master server and including information about replications with multiple master servers other than the second multiple master server. - View Dependent Claims (19)
-
Specification