Fault processing method and device for distributed database, equipment, medium and product

By counting the number of heartbeat loss in a distributed database and launching a reverse check task, quickly identifying and switching abnormal master data nodes, the problem of lag in fault identification in the existing technology is solved, and the service recovery speed and user experience are improved.

CN119718789APending Publication Date: 2025-03-28JINZHUAN INFORMATION TECHNOLOGY CO LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202411882672.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing technology cannot quickly identify host failures in distributed databases, resulting in long service interruptions and affecting user experience.

Method used

By counting the number of continuous heartbeat loss of the main data node, if the preset threshold is exceeded, a reverse check task is initiated to the backup data node to determine whether the main data node is abnormal, and toggle.

Benefits of technology

It realizes the availability of fast and effective identification of the main data nodes, shortens the fault detection time, quickly initiates failover, reduces the service recovery RTO time, ensures that users can quickly and stably access data, and improves user experience.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a fault processing method and device for a distributed database, equipment, a medium and a product. The method comprises the following steps: counting a continuous heartbeat loss number of a current primary data node; if the continuous heartbeat loss number exceeds a preset threshold value, initiating a reverse check task to the standby data node under the corresponding fragment, so that the standby data node establishes a link to the main data node and returns a first link establishment result to the cluster manager; and determining whether the primary data node is abnormal or not according to the first link establishment result, and if yes, switching the primary data node. According to the technical scheme provided by the invention, the availability of the main data node can be quickly and effectively identified by counting the heartbeat loss and a reverse check mechanism, the fault detection time is shortened, and the fault switching can be quickly initiated, so that the service recovery RTO time is effectively shortened, and the service recovery efficiency is improved. And it is ensured that the user can quickly and stably access the required data at any time and any place, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art