Disk selection method and device for distributed storage cluster and readable storage medium

A distributed storage and disk technology, applied in the input/output process of data processing, instruments, electrical digital data processing, etc., can solve OSD member conflicts, low efficiency of disk selection in data distribution algorithms, and increase invalid selection of data distribution algorithms The number of times and other issues, to achieve the effect of improving efficiency, improving disk selection efficiency, and reducing the number of invalid selections
CN113126931AActive Publication Date: 2021-07-16SHANDONG YINGXIN COMP TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANDONG YINGXIN COMP TECH CO LTD
Publication Date
2021-07-16

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a disk selection method and device for a distributed storage cluster and a computer readable storage medium. The method comprises the steps that a conflict domain used for storing selected object storage equipment and related information of a fault domain where the selected object storage equipment is located is constructed. In the process of sequentially selecting the OSDs downwards from the root node according to the root node information, the fault domain type and the total number of the OSDs to be selected, if the current member is in the conflict domain, selecting other members from the layer where the current member is located; if the current member is not in the conflict domain, the type of the current member is matched with the type of the fault domain, and the object storage device contained in the current member is not selected, member selection is carried out from the next layer of the layer where the current member is located until a target member of the OSD type is selected; and the target member information and the current member information are input into the conflict domain to update the conflict domain, thereby effectively reducing the frequency of invalid disk selection by a data distribution algorithm, improving the disk selection efficiency, and reducing the occupation of CPU resources and the consumption of time.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of distributed storage, and in particular to a disk selection method, device and computer-readable storage medium for a distributed storage cluster. Background technique

[0002] In a distributed storage system, the stored content is cut according to a fixed size. This piece of fixed-size data is called an object. PG (Placement Group, placement group) is a carrier for placing objects, which is equivalent to the aggregation of multiple objects. A logical concept, PGs and objects are mapped through a consistent hash algorithm, and one PG corresponds to multiple objects. Each PG corresponds to an OSD (Object-based Storage Device, object storage device) through a data distribution algorithm. One PG corresponds to multiple OSDs. An OSD can be simply understood as a physical disk. An OSD can have Multiple PGs, so that the content to be stored is placed on the disk.

[0003] In the data distribution alg...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More