v.20.12Improvement

Server Startup Failure Due to Missing Config Parameter

Server refused to startup with exception message if wrong config is given (metric_log.collect_interval_milliseconds is missing). #16815 (Ivan).
ClickHouse server now refuses to start and throws an exception if the required configuration parameter metric_log.collect_interval_milliseconds is missing.

Why it matters

This feature improves server startup validation by ensuring that mandatory configuration parameters like metric_log.collect_interval_milliseconds are present. It prevents the server from running with an incomplete or invalid configuration, helping users quickly identify and fix configuration issues.

How to use it

Ensure that the configuration file for ClickHouse includes the metric_log.collect_interval_milliseconds parameter with an appropriate value. Without this parameter set, the server will refuse to start and provide an explicit error message indicating the missing setting.