v.22.1Improvement

Pressing Ctrl+C Twice Terminates clickhouse-benchmark Immediately

Pressing Ctrl+C twice will terminate clickhouse-benchmark immediately without waiting for in-flight queries. This closes #32586. #33303 (alexey-milovidov).
Pressing Ctrl+C twice will immediately terminate clickhouse-benchmark without waiting for in-flight queries to complete.

Why it matters

This feature allows users to quickly abort clickhouse-benchmark execution in scenarios where waiting for ongoing queries to finish is not desired, enhancing control and responsiveness during benchmarking.

How to use it

While running clickhouse-benchmark, press Ctrl+C twice in succession to immediately terminate the process without waiting for currently running queries to finish.