Distributed object storage space allocation method and device, equipment and storage medium

The invention discloses a distributed object storage space distribution method and device, equipment and a storage medium, and relates to the technical field of distributed storage, the method comprises the following steps: obtaining a data writing instruction of an object, so as to determine the le...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIU YAYU, QIAO JIHUI, LI WENPENG
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 distributed object storage space distribution method and device, equipment and a storage medium, and relates to the technical field of distributed storage, the method comprises the following steps: obtaining a data writing instruction of an object, so as to determine the length of written target data and a corresponding first offset according to the data writing instruction; if no disk space is allocated in a first interval determined by the length of the target data and the first offset in the object, allocating a first disk space to the object according to a preset allocation strategy; when the data is written into the object again, determining the length of the current data and a corresponding second offset, and judging whether the length of the current data and the second offset meet a preset condition or not; and when the length of the current data and the second offset do not meet the preset condition, continuing to allocate a second disk space for the object according to a pre