Method and system for data synchronization

A data synchronization method is provided. The data synchronization method includes providing a first server with a master flag and a write flag for a data block; providing a second server; and importing a snapshot of the data block to the second server. The method further includes configuring a syn...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu Li, Tian Ming, Jiang Xingcai, Zhou Zhihao
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A data synchronization method is provided. The data synchronization method includes providing a first server with a master flag and a write flag for a data block; providing a second server; and importing a snapshot of the data block to the second server. The method further includes configuring a synchronizing flag for the data block on the second server; synchronizing, by a synchronizing component, data of the data block on the first server to the second server; and removing the write flag of the data block on the first server when the data block is to be migrated out of the first server. The method also includes synchronizing, by the synchronizing component, latest data of the data block on the first server to the second server; removing the master flag of the data block on the first server and removing the synchronizing flag of the data block on the second server after data of the data block on the second server and the data of the data block on the first server are completely synchronized; and configuring a master flag and a write flag for the data block on the second server.