v.23.8Improvement

Server Settings Misconfiguration Now Fails Gracefully

If server settings asynchronous_metrics_update_period_s and asynchronous_heavy_metrics_update_period_s are misconfigured to 0, it will now fail gracefully instead of terminating the application. #53428 (Robert Schulze).
ClickHouse now handles misconfiguration of asynchronous_metrics_update_period_s and asynchronous_heavy_metrics_update_period_s settings gracefully, preventing application termination when set to 0.

Why it matters

Previously, setting the server settings asynchronous_metrics_update_period_s and asynchronous_heavy_metrics_update_period_s to 0 caused the ClickHouse server to terminate unexpectedly. This update ensures that the server fails gracefully in such cases, improving stability and robustness by avoiding crashes due to configuration errors.

How to use it

To benefit from this update, ensure your ClickHouse server is upgraded to the version including this fix. If the settings asynchronous_metrics_update_period_s or asynchronous_heavy_metrics_update_period_s are configured as 0, the server will now handle it gracefully without manual intervention.