v.24.5Improvement

Automatically Reset max_block_size to Default if Zero

Automatically correct max_block_size to the default value if it is zero. #63587 (Antonio Andelic).
Automatically corrects the max_block_size setting to its default value if it is set to zero.

Why it matters

This feature addresses the issue where max_block_size is incorrectly set to zero, which could cause unexpected behavior or errors. By automatically resetting it to the default, it ensures stable and predictable query execution without requiring manual intervention from users.

How to use it

Users do not need to take any explicit action to enable this feature. If max_block_size is configured as zero, ClickHouse will internally replace it with the default value during query processing.