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...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
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 |
---|