Cluster quorum method and apparatus, electronic device, and readable storage medium
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsHui Li, Peng Zhao
Life of this patent
Estimating the term…
Loading patent…
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsHui Li, Peng Zhao
Estimating the term…
Disclosed are a cluster quorum method and apparatus, an electronic device, and a computer-readable storage medium. The method includes: acquiring a historical election set, and obtaining a first node quantity and a power condition by using the historical election set; generating a quorum parameter by using the first node quantity according to the power condition; acquiring a current network topology, and judging whether the current network topology satisfies the quorum parameter; and if the current network topology satisfies the quorum parameter, providing a cluster service. According to the method, a new network topology after a failure is not required to include the majority of nodes in an original cluster, whereby the network topology can continue to work no matter a quantity of nodes in the network topology while data consistency is ensured, improving viability of the cluster.
A cluster quorum method, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium, storing a computer program executable by a processor, wherein the computer program, when executed by the processor, is configured to cause the processor to:
Dependencies are inferred from the claim text.