Data storage method and device, electronic equipment and storage medium

The invention discloses a data storage method, which is applied to a storage node of a distributed storage system, and comprises the following steps: in response to an obtained object creation instruction sent by a management node, creating a copy object and a copy sub-object; storing the to-be-stor...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUI RUNHAI, WU RUIQIANG, ZHANG TINGQUAN, BU QINGZHONG, JI ZHIXIANG
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 data storage method, which is applied to a storage node of a distributed storage system, and comprises the following steps: in response to an obtained object creation instruction sent by a management node, creating a copy object and a copy sub-object; storing the to-be-stored data sent by the management node through the copy object; and according to the copy number, determining a target copy sub-object in each copy sub-object, storing to-be-stored sub-data in the target copy sub-object to a cache module, and storing to-be-stored sub-data in a non-target copy sub-object to a hard disk module. According to the technical scheme, copy storage of the to-be-stored data is achieved, namely, data backup is achieved, meanwhile, the cache module of each storage node does not comprise repeated data, waste of cache resources in the distributed storage system is avoided, and in addition, the storage efficiency of the distributed storage system is improved. And the management node can read the com