Fault handling method and device for distributed storage system, and electronic equipment

A fault handling method and distributed storage technology, applied in the transmission system, electrical digital data processing, electrical components, etc., can solve problems such as service unavailability and system confusion, and achieve the effect of shortening the failover time

Active Publication Date: 2022-07-12
北京星辰天合科技股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a fault handling method, device, and electronic equipment for a distributed storage system to at least solve the problem of competing for shar

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
  • Fault handling method and device for distributed storage system, and electronic equipment
  • Fault handling method and device for distributed storage system, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0031] Example 1

[0032] According to an embodiment of the present invention, an embodiment of a fault handling method for a distributed storage system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

[0033] The fault processing method for a distributed storage system provided by the embodiment of the present invention is applied to a preset distributed storage system, where the preset distributed storage system includes multiple data centers, and each data center includes multiple data disk process OSDs.

[0034] figure 1 is a flowchart of an optional fault handling method for a distributed storage system according to an embodiment of the present invention, such as figure 1 As show...

Example Embodiment

[0062] Embodiment 2

[0063] An embodiment of the present invention provides an optional fault processing device for a distributed storage system, which is applied to a preset distributed storage system, where the preset distributed storage system includes multiple data centers, and each data center includes multiple data storage systems. Disk process OSD.

[0064] figure 2 is a schematic diagram of an optional fault processing device of a distributed storage system according to an embodiment of the present invention, such as figure 2 As shown, the fault processing device includes: a detection unit 21, a partition unit 23, an acquisition unit 25, and a control unit 27, wherein,

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 discloses a fault processing method, device and electronic equipment of a distributed storage system. Wherein, the method includes: when it is determined that a network failure occurs between target data centers, using a preset data placement process OSD in the target data center to detect whether a regional level failure occurs; The faulty fault domain is partitioned to obtain multiple network partitions; the target network partitions that meet the preset filtering conditions are obtained from the multiple network partitions, and the non-target network partition is determined as the faulty network partition; The disk process OSD is switched so that the distributed storage system can access services normally, and the OSD of the data disk process in the faulty network partition is controlled to stop accessing services. The invention solves the technical problems in the related art that the distributed storage dual-active system competes with each other for shared resources when a split-brain occurs, which easily leads to system confusion and unusable services.

Description

technical field [0001] The present invention relates to the field of distributed storage systems, and in particular, to a fault processing method and device for a distributed storage system, and electronic equipment. Background technique [0002] In the related art, for a distributed storage system, especially an active-active storage system, when the "heartbeat line" connecting two nodes (or data centers) is disconnected (that is, when the two nodes or data centers are disconnected), the original As an overall, action-coordinated active-active system, it is split into two independent systems. Because they lost contact with each other, they thought it was the other party's fault. The active-active software on the two systems, like "split-brain people", "instinctively" competed for "shared resources" and "application services". There are more serious drawbacks: 1) or the shared resources are divided up, and the "services" on both sides cannot be started; 2) or the "services"...

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
IPC IPC(8): H04L41/0659H04L67/1097G06F11/07
CPCH04L41/0659H04L67/1097G06F11/0727
Inventor 肖永玲刘名欣张旭明王豪迈胥昕
Owner 北京星辰天合科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products