Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for setting osd heartbeat mechanism of distributed file system

A distributed file and heartbeat mechanism technology, applied in file systems, file system functions, transmission systems, etc., can solve problems such as system resource consumption, heartbeat timeout, abnormal cluster status, etc., to reduce the number of heartbeat messages and improve system stability. , the effect of reducing system resource consumption

Active Publication Date: 2021-06-29
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the OSD (Object-based Storage Device, object storage device) heartbeat mechanism is a group of OSDs that send messages to each other for state detection. The sending and receiving of the OSD heartbeat mechanism can be as follows: figure 1 As shown, the OSD where a PG (collection of data object storage) is located is a heartbeat detection group, and each node in the group sends heartbeat messages to each other. The scale will increase exponentially, which will not only consume system resources, but also easily lead to heartbeat timeout due to lack of system resources, which will lead to abnormal cluster status

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
  • Method and device for setting osd heartbeat mechanism of distributed file system
  • Method and device for setting osd heartbeat mechanism of distributed file system
  • Method and device for setting osd heartbeat mechanism of distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0038] Please refer to figure 2 , figure 2 It is a flowchart of a method for setting an OSD heartbeat mechanism of a distributed file system provided by an embodiment of the present invention. The method can include:

[0039] Step 101: The first node assembles a heartbeat message according to the status information of all its OSDs at a p...

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 an OSD heartbeat mechanism setting method and device of a distributed file system, and a computer-readable storage medium. The method includes: a first node assembles a heartbeat message according to state information of all its own OSDs at a preset time interval, and Send the heartbeat message to the corresponding receiving node; each receiving node calls the heartbeat processing function of all its own OSDs according to the received heartbeat message, and updates the heartbeat related information of the OSD corresponding to the PG group information heartbeat message saved by all its own OSDs ; In the present invention, the first node assembles the heartbeat message according to the state information of all OSDs of itself according to the preset time interval, and sends the heartbeat message to the corresponding receiving node, which can be sent between nodes in single-process mode. The heartbeat message containing the status information of all OSDs on the node can reduce the number of OSD heartbeat messages, reduce system resource consumption, and improve system stability.

Description

technical field [0001] The invention relates to the field of distributed file systems, in particular to an OSD heartbeat mechanism setting method, device and computer-readable storage medium of a distributed file system. Background technique [0002] With the development of science and technology in modern society, the application of distributed file system has been paid more and more attention by people. During the operation of the distributed file system, it is necessary to respond to failures in a timely manner, so it is necessary to rely on the OSD heartbeat mechanism to detect the health of the system. [0003] In the prior art, the OSD (Object-based Storage Device, object storage device) heartbeat mechanism is a group of OSDs that send messages to each other for state detection. The sending and receiving of the OSD heartbeat mechanism can be as follows: figure 1 As shown, the OSD where a PG (collection of data object storage) is located is a heartbeat detection group,...

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/30G06F16/17G06F16/182H04L12/26
CPCG06F11/3006G06F11/3093G06F11/3096G06F2201/875G06F16/1734G06F16/182H04L43/10
Inventor 李彦博
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD