Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Troubleshooting method, device, distributed storage system and storage medium

A fault handling method and fault technology, applied in electrical digital data processing, hardware redundancy for data error detection, instruments, etc., to achieve the effect of reducing the amount of data migration

Active Publication Date: 2021-09-21
PING AN TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a fault handling method, device, distributed storage system and computer-readable storage medium, aiming to solve the problem of how to reduce the amount of data migration between OSDs during the OSD fault handling process

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Troubleshooting method, device, distributed storage system and storage medium
  • Troubleshooting method, device, distributed storage system and storage medium
  • Troubleshooting method, device, distributed storage system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0053] refer to figure 1 Shown is a schematic diagram of the system architecture of the first embodiment of the distributed storage system of the present invention.

[0054] In this embodiment, the distributed storage system includes a plurality of main OSD31 and at least one backup OSD group, and the backup OSD group includes several backup OSD32, wherein each main OSD31 and backup OSD32 can be set in each host 3 For example, at least one active OSD 31 and at least one backup OSD 32 are set in one host 3, and each active OSD 31 and backup OSD 32 are communicatively connected (for example, via the network 2).

[0055] In some application scenarios, an electronic device 1 is also provided in the distributed storage ...

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

PUM

No PUM Login to View More

Abstract

The invention relates to a distributed storage technology, and discloses a fault processing method, device, distributed storage system and computer-readable storage medium. The present invention detects a faulty primary OSD in real time or at regular intervals; when a faulty primary OSD is detected, each object stored in the faulty primary OSD is determined according to the mapping relationship between the predetermined object data and PG The PG corresponding to the data, and each determined PG as a faulty PG; reduce the copy configuration amount of all object data corresponding to all faulty PGs from the first preset number to the second preset number; select a backup from the backup OSD group The OSD acts as a new active OSD, and replaces the failed active OSD with the new active OSD, and increases the replica configuration amount of all object data corresponding to all faulty PGs from the second preset amount to the first preset amount. Compared with the prior art, the present invention reduces the amount of data migration between OSDs during OSD failure processing.

Description

technical field [0001] The present invention relates to the technical field of distributed storage, in particular to a fault handling method, device, distributed storage system and computer-readable storage medium. Background technique [0002] The CEPH distributed file system is a distributed storage system with large capacity, high performance and strong reliability. The core component of CEPH is OSD (Object Storage Device, Object Storage Device). OSD manages an independent hard disk and provides a read-write access interface for Object-based Storage. A CEPH cluster consists of many independent OSDs, and the number of OSDs can be dynamically added or deleted. The CEPH client distributes object data (Object) to different OSDs for storage through the CRUSH algorithm. Among them, CRUSH is a pseudo-random distribution algorithm. This algorithm first assigns the object data to a placement group (Placement Group, PG) through the hash value (HASH), and then calculates the OSD s...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/20G06F11/14
CPCG06F11/1464G06F11/2094
Inventor 宋小兵姜文峰
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products