Metadata recovery method and device for distributed file system, equipment and medium

The invention discloses a metadata recovery method and device for a distributed file system, equipment and a medium, and the method comprises the steps: obtaining the currently stored metadata corresponding to a target file in the local when a metadata updating fault event is monitored, wherein the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SUN YEKUAN, MENG XIANGRUI
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 metadata recovery method and device for a distributed file system, equipment and a medium, and the method comprises the steps: obtaining the currently stored metadata corresponding to a target file in the local when a metadata updating fault event is monitored, wherein the currently stored metadata is metadata used for recording file storage position information and file size; determining actual metadata of the target file based on file storage position information in the currently stored metadata and data corresponding to the target file in a first file storage pool and/or a second file storage pool; and updating and recovering the currently stored metadata by using the actual metadata. By means of the technical scheme, it is guaranteed that the metadata storage position information and the file size in the target file are consistent with actual metadata, data inaccuracy caused by faults is avoided, and the stability and reliability of the distributed file system are improved. 本申请公开