Method and system for deleting and synchronizing files of main and standby servers

The invention discloses a method and a system for deleting and synchronizing files of a main server and a standby server, which are used for realizing file deletion of the standby server according to a file deletion record generated by the main server, so that the problem of file loss caused by swit...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHOU MIAO, ZHOU WENKAI, LI KANGQUN, YAN JINGYU, WU FANGDE, LING ZHENG, DU SHUFENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method and a system for deleting and synchronizing files of a main server and a standby server, which are used for realizing file deletion of the standby server according to a file deletion record generated by the main server, so that the problem of file loss caused by switching of the main server and the standby server can be avoided. The method for deleting the files of the main server and the standby server comprises the steps that when the main server receives a file deleting instruction, after corresponding files stored locally are deleted, a file deleting record marked with an undeleted identifier of the standby server is generated and stored locally; and the standby server retrieves the file deletion record locally stored by the main server once at a preset time interval, deletes the locally stored corresponding file for the file deletion record marked with the standby server non-deletion identifier, and modifies the non-deletion identifier in the locally stored corresponding