A distributed storage file grading database configuration real-time updating method and device

CN122152841APending Publication Date: 2026-06-05JINAN INSPUR DATA TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
JINAN INSPUR DATA TECH CO LTD
Filing Date
2026-03-20
Publication Date
2026-06-05

Smart Images

  • Figure CN122152841A_ABST
    Figure CN122152841A_ABST
Patent Text Reader

Abstract

The application provides a distributed storage file grading database table configuration optimization method and device, and relates to the technical field of distributed storage file grading database configuration management, wherein the method comprises the following steps: storing the IP address of a master database and the database table name and configuration information used by each module into etcd; each application layer module registers an etcd watcher during initialization, listens to the key corresponding to the master database IP and the database table name, triggers a callback function when the key changes, and notifies each module in real time through the watch mechanism of etcd when the master database switches from the master to the backup or the database table is updated; each module re-queries the database and refreshes the local cache according to the notification content; a timer is set to perform heartbeat detection and rewatcher operation, and when the etcd connection is detected to be abnormal, the watcher is automatically re-registered to restore the listening ability of the configuration information. The application can improve the system response speed and configuration consistency, reduce resource consumption and enhance the system robustness.
Need to check novelty before this filing date? Find Prior Art