v.20.8Improvement

Speed up server shutdown during ongoing S3 requests

Speed up server shutdown process if there are ongoing S3 requests. #14858 (Pavel Kovalenko).
Speeds up the ClickHouse server shutdown process when there are ongoing S3 requests.

Why it matters

To reduce the delay during server shutdown caused by waiting for ongoing S3 requests to complete, improving overall shutdown responsiveness and user experience.

How to use it

This improvement is applied automatically in the server's shutdown procedure. Users do not need to enable any settings; the server will now handle ongoing S3 requests more efficiently during shutdown.