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

Election request processing method, device, management node and storage medium

A management node and request processing technology, which is applied in the direction of electrical digital data processing, redundant data error detection in hardware, instruments, etc., can solve problems such as abnormal management nodes, affecting business continuity, frequent elections of management clusters, etc. Achieve the effect of reducing influence, reducing election frequency and improving reliability

Active Publication Date: 2021-10-12
NEW H3C TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, when the state of the management nodes in the management cluster changes or when the management nodes in the management cluster are added or deleted, a new round of election will be triggered, because during the entire election process, the distributed storage system cannot For providing services, if the network status of one of the management nodes in the management cluster is unstable and the management node is abnormal, it will cause frequent elections of the management cluster, which will affect the normal business continuity in severe cases and reduce the reliability of the entire distributed storage system. sex

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
  • Election request processing method, device, management node and storage medium
  • Election request processing method, device, management node and storage medium
  • Election request processing method, device, management node and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0027] Please refer to image 3 and Figure 4 , image 3 It shows the first flow chart of the election request processing method provided by the embodiment of the present invention, Figure 4 A second flowchart of the election request processing method provided by the embodiment of the present invention is shown. The election request processing method is applied to the management node 100 of the management cluster in the distributed storage system, and the election request processing method includes the following steps:

[0028] Step S101, receiving an election request sent by the abnormally recovered management node, wherein the election request includes the election version number recorded by the abnormally recovered management node and the latest election time recorded by the abnormally recovered management node.

[0029] In the embodiment of the present invention, the abnormality of the management node means that the management node can no longer provide safe and effect...

no. 2 example

[0059] Please refer to Figure 5 , Figure 5 A schematic block diagram of the election request processing apparatus 200 provided by the embodiment of the present invention is shown. The election request processing device 200 is applied to the management node 100, which includes a receiving module 201; a judging module 202; a first ignoring module 203; a first election module 204; an obtaining module 205; a second ignoring module 206; Module 208.

[0060] The receiving module 201 is configured to receive an election request sent by the abnormally recovered management node, wherein the election request includes the election version number recorded by the abnormally recovered management node and the latest election time recorded by the abnormally recovered management node.

[0061] In the embodiment of the present invention, the receiving module 201 is configured to execute step S101.

[0062] The judging module 202 is used for judging whether to ignore the election request ac...

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 present invention relates to the field of distributed storage technology, and provides an election request processing method, device, management node and storage medium. The method includes: receiving the election version number and the latest An election time; when the election version number is greater than the local version number, judge whether to ignore the election request based on the current system time and the latest election time; when the difference between the latest election time and the current system time is less than or equal to the preset threshold, ignore it Election request; when the difference between the latest election time and the current system time is greater than the preset threshold, the election request is accepted to start the election. By ignoring the election request conditionally, the present invention realizes shielding, isolates problem management nodes, and reduces the election frequency of the management cluster, thereby ensuring that the management cluster can provide services normally, thereby improving the reliability of the entire distributed storage system.

Description

technical field [0001] The present invention relates to the technical field of distributed storage, in particular, to an election request processing method, device, management node and storage medium. Background technique [0002] In the distributed storage system, the management node is used to maintain the status information of the distributed storage system. Before the client reads and writes the data stored in the distributed storage system, it must first obtain the status information of the distributed storage system through the management node. For normal read and write operations, therefore, the reliability of the management node is very important for the distributed storage system. In order to avoid single point of failure, improve the reliability of the management node, and then improve the reliability of the distributed storage system, distributed In a storage system, multiple management nodes are usually formed into a management cluster, and the role of each manag...

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/20
CPCG06F11/2092
Inventor 赵明月
Owner NEW H3C TECH 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