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

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

A management node and request processing technology, which is applied in the direction of electrical digital data processing, hardware redundancy for data error detection, instruments, etc., can solve management node abnormalities, affect business continuity, and reduce the reliability of distributed storage systems And other issues

Active Publication Date: 2018-12-18
NEW H3C TECH CO LTD
View PDF5 Cites 3 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 and device, management node, and storage medium
  • Election request processing method and device, management node, and storage medium
  • Election request processing method and 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 invention relates to the technical field of distributed storage, which provides an election request processing method and device, a management node and a storage medium. The method comprises: receiving an election version number recorded by an abnormal recovery management node sent by the abnormal recovery management node and a latest election time; when the election version number is greaterthan the local version number, whether the election request is ignored is judged according to the current system time and the last election time; when the difference between the last election time andthe current system time is less than or equal to the preset threshold, the election request is ignored. When the difference between the last election time and the current system time is greater thana preset threshold, the election request is accepted to start the election. By conditionally ignoring the election request, the invention realizes shielding and isolating of the problem management node, and reduces the election frequency of the management cluster, thereby ensuring that the management cluster can normally provide the service, and further improving the reliability of the whole 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
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