v.21.11Improvements

Add compress_logs setting for ClickHouse Keeper to enable ZSTD log compression

Add compress_logs settings for clickhouse-keeper which allow to compress clickhouse-keeper logs (for replicated state machine) in ZSTD . Implements: #26977. #29223 (alesapin).
Added the compress_logs setting for clickhouse-keeper that enables compression of clickhouse-keeper logs using ZSTD.

Why it matters

This feature reduces the storage size of clickhouse-keeper logs, which are used in the replicated state machine, by compressing them with the efficient ZSTD algorithm. This helps to save disk space and improve log management.

How to use it

Enable compression by setting compress_logs to true in the clickhouse-keeper configuration. Logs will then be compressed automatically using ZSTD.