A method and apparatus for reloading a configuration file

The invention relates to the computer field, in particular to a method and a device for reloading a configuration file. The invention is used to implement the reload of a new configuration file. The method comprises the following steps: Mycat loads new configuration files that correspond to the resp...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG HONGBO, LIU BAOGUO, HU XINJING, LIU XIANPAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the computer field, in particular to a method and a device for reloading a configuration file. The invention is used to implement the reload of a new configuration file. The method comprises the following steps: Mycat loads new configuration files that correspond to the respective settings of the read-write back-end database, Initializes the various parameters contained inthe configuration file, Further, when it is determined that there are parameters that have not been successfully initialized, judging whether the uninitialized successful parameter is a negligible item, when it is determined that the uninitialized successful parameter is a negligible item, Replace the old configuration file with a new configuration file. This way, by setting the negligible itemsof the parameters in the configuration file, so as to realize the smooth loading of the new configuration file, effectively improve the loading efficiency of the configuration file, reduce the influence of the unavailable read