一种利用可迁移虚拟共识节点在双节点集群中维持共识集群多数派的方法、系统、终端及存储介质

By deploying virtual consensus nodes in a two-node cluster and migrating or restarting them in case of failure, the problems of insufficient majority commit and state continuity in a two-physical-node system are solved, thus achieving the stability and availability of the consensus cluster.

CN122160242BActive Publication Date: 2026-07-17SHENZHEN JIETENG TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN JIETENG TECHNOLOGY CO LTD
Filing Date
2026-05-09
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In a dual-physical-node system, it is difficult to maintain the majority commit condition. Traditional witness schemes cannot support the consensus protocol state and have insufficient state continuity after failover.

Method used

In a dual-node cluster, first and second consensus nodes are deployed, and virtual consensus nodes are created. Their persistent state is saved to shared storage. The high availability management module determines the running host. When a fault is detected, the virtual consensus node is migrated or restarted on the surviving node to form a logical three-member consensus cluster that satisfies the majority submission condition.

Benefits of technology

It achieves the continuity of majority commit capability in the consensus cluster without adding a third physical node, reduces the risk of split-brain, and improves the availability of the control plane of dual-control devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122160242B_ABST
    Figure CN122160242B_ABST
Patent Text Reader

Abstract

本发明涉及分布式共识与高可用集群领域,公开了一种利用可迁移虚拟共识节点在双节点集群中维持共识集群多数派的方法、系统、终端及存储介质,方法包括:在第一物理节点部署第一共识节点,在第二物理节点部署第二共识节点,创建虚拟共识节点,将虚拟共识节点的持久化状态保存至第一、第二物理节点的共享存储中;将第一共识节点、第二共识节点和虚拟共识节点形成逻辑上的共识集群;检测虚拟共识节点的当前运行宿主的故障状态,当检测到宿主出现故障时,根据共享存储中保存的所述持久化状态,在存活的另一物理节点上迁移或重新启动虚拟共识节点。本发明可以在不增加固定第三物理节点的情况下,维持双节点系统中的多数派共识。
Need to check novelty before this filing date? Find Prior Art