v.25.9Improvement

Throw an exception if setting network_compression_method is

Throw an exception if setting network_compression_method is not a supported generic codec. #87097 (Robert Schulze).
ClickHouse now throws an exception if the network_compression_method setting is configured with an unsupported generic compression codec.

Why it matters

This feature improves system robustness by preventing misconfiguration of the network_compression_method setting. It ensures that only supported generic codecs are used, avoiding runtime errors or unexpected behavior during network compression.

How to use it

When configuring the network_compression_method setting, ensure to specify a supported generic compression codec. If an unsupported codec is set, ClickHouse will throw an exception, alerting you to correct the setting before proceeding.