v.21.1Improvements
Improve timeout checks for max_execution_time in ClickHouse
Improve the max_execution_time checks. Fixed some cases when timeout checks do not happen and query could run too long. #31636 (Raúl Marín).Why it matters
This feature addresses issues where timeout checks were occasionally bypassed, allowing queries to run longer than the configuredmax_execution_time. It guarantees that query execution times are properly limited to improve system stability and resource management.How to use it
Set themax_execution_time setting for your queries or sessions as usual. The improved checks will automatically enforce the timeout more reliably without additional configuration.