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

Distributed cluster split-brain processing method, device and equipment

A technology of distributed cluster and processing method, applied in the field of distributed cluster, can solve problems such as inability to know voting results, unavailability of voting results, split-brain and other problems

Active Publication Date: 2018-06-08
HYTERA COMM CORP
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention discloses a distributed cluster split-brain processing method, device and equipment, which solves the problem that in the prior art, active clusters cannot be selected without divergence to provide services for users. For voters and users When the votes of the participants are inconsistent, the voting results may be unavailable, and if the non-voting party fails, the voting results will not be known, which will lead to the problem of split brain

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
  • Distributed cluster split-brain processing method, device and equipment
  • Distributed cluster split-brain processing method, device and equipment
  • Distributed cluster split-brain processing method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach 1

[0091] Embodiment 1: write the voting result into the database; the business cluster that has not initiated the voting reads the voting result from the database.

Embodiment approach 2

[0092] Embodiment 2: Send the voting result to the user terminal and / or arbitration terminal connected to the business cluster that initiates the vote; when the user terminal and / or arbitration terminal is connected to the business cluster that does not initiate the vote , the voting result is sent to the business cluster that has not initiated the voting.

[0093] In this embodiment, the voting result is sent to the voter connected to the business cluster that initiates the vote and the use terminal other than the voter, wherein the voter votes for the use terminal and / or arbitration of the business cluster that initiates the vote terminal.

[0094] In this embodiment, when performing the operation of notifying the voting result to the business cluster that has not initiated a vote among the two interconnected clusters, the solution of Embodiment 1 or the solution of Embodiment 2 can be implemented. In addition, you can also Implement the first embodiment and the second embo...

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 distributed cluster split-brain processing method, device and equipment. The method comprises the following steps: when the running state of the opposite side cannot be sensed between two mutually connected service clusters, switching the two service clusters into a read-only mode; determining at most one service cluster with the right to initiate voting according to theresult of whether the two service clusters and a database can be normally connected, wherein a service cluster with the voting right initiates voting to a preset voter set, and a service cluster whichdoes not have the right to initiate voting does not initiate voting; and if the service cluster that initiates voting within the preset time obtains the predetermined number of votes, switching the service cluster that initiates voting from the read-only mode to a normal service mode, and notifying the service cluster which does not initiate voting in the two clusters of a voting result, and stopping the work of the service cluster which does not initiate voting. Therefore, through the method disclosed by the invention, the occurrence of split-brain can be completely avoided, and the voting result is closer to the actual use condition.

Description

technical field [0001] The present invention relates to the field of distributed clusters, in particular to a split-brain processing method, device and equipment for distributed clusters. Background technique [0002] In a highly available distributed cluster, there will be two clusters that back up each other. When the two clusters are in a connected state, one of the clusters will provide services for users, and the other cluster will serve as a backup cluster. Reach an active / standby negotiation. However, when heartbeat link failures occur in two clusters, only one of the two clusters can be alive, that is, only one of the clusters can provide services to users. service, and the two cannot synchronize data, it means that there is a split-brain situation, which will lead to confusion of user data. Specifically, there may be inconsistencies in the user data stored in the two clusters, so It is impossible to know which cluster stores user data that is valid. [0003] In t...

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 Applications(China)
IPC IPC(8): H04L12/26H04L29/08
CPCH04L43/0817H04L43/10H04L43/106H04L67/1044
Inventor 关超
Owner HYTERA COMM CORP
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