[MDEV-31527] Add a variable and flag to check the configuration without actually starting the server Created: 2023-06-22  Updated: 2023-06-22

Status: Open
Project: MariaDB Server
Component/s: Configuration
Fix Version/s: None

Type: Task Priority: Major
Reporter: Claudio Nanni Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

It's possible to misspell a variable name in any of the config files.
It would be useful to have a flag or setting like MaxScale's --config-check to validate the configuration before actually starting the server on it.
There are some scenarios when this will be very useful for example as in MDEV-31517 case.

Adding to that, I'm also of the advice to have such setting enabled by default that is, do not attempt to start if any variable is misspelled.

I imagine that presents a technical challenge for several reasons.



 Comments   
Comment by Justin Bennett [ 2023-06-22 ]

Another RDBMS provides validate-config for this purpose.

Generated at Thu Feb 08 10:24:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.