[MXS-2377] Log warning about changes to main config if persisted changes have been done Created: 2019-03-12  Updated: 2020-05-25  Resolved: 2020-05-25

Status: Closed
Project: MariaDB MaxScale
Component/s: N/A
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: markus makela Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

If runtime changes have been done and a user modifies maxscale.cnf, the changes won't take effect after the next restart. This happens due to the persisted configuration files overwriting the user-defined values and is expected behavior. To inform the user of this fact, the existing warning that is logged should also explain that any changes to the main configuration file will not take effect and the changes should be done via maxctrl.

This could be done in a somewhat crude way by inspecting the modification timestamps of the files.



 Comments   
Comment by markus makela [ 2019-07-04 ]

MaxScale now logs a message at startup if persisted changes have been done.

Generated at Thu Feb 08 04:13:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.