Database cluster management method, apparatus, device, storage medium, and product

By detecting primary database failures in the database cluster and promoting the standby database to the new primary database, and implementing role isolation control, the problems of split-brain and data conflicts after primary database failure recovery are resolved, achieving automated isolation and improving the stability and security of the system.

CN122111767APending Publication Date: 2026-05-29CETC JINCANG (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CETC JINCANG (BEIJING) TECH CO LTD
Filing Date
2026-02-10
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing technologies pose risks of split-brain and data conflicts after recovery from a database system master failure, and rely on manual intervention, which is inefficient and prone to errors.

Method used

When a primary node fails, the standby database is promoted to the new primary database. Its status is continuously monitored, and role isolation control is implemented during recovery, including disabling write services, restricting election, and marking isolation status to avoid dual-primary operation.

Benefits of technology

Automated isolation was achieved, eliminating the risk of split-brain, avoiding data conflicts and service interruptions, and improving the stability and security of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111767A_ABST
    Figure CN122111767A_ABST
Patent Text Reader

Abstract

The application provides a database cluster management method, device, equipment, storage medium and product, which are applied to a database cluster. The database cluster includes an initial master library node and at least one standby library node. The method includes the following steps: detecting state information of the initial master library node; when detecting that the initial master library node fails, promoting one standby library node to a new master library node to take over the initial master library node; during the period when the new master library node takes over the initial master library node, detecting the state information of the initial master library node, and when detecting that the initial master library node resumes operation, identifying the initial master library node as a fault recovery node; performing role isolation control on the fault recovery node; the role isolation control includes modifying role configuration information of the fault recovery node. By detecting the initial master library node when it is unavailable to when it resumes operation, performing role isolation control on the initial master library node, and prohibiting the initial master library node from operating as a master library node, data conflicts and automatic isolation caused by double master operation are avoided.
Need to check novelty before this filing date? Find Prior Art