v.19.11Improvement

More Informative Error Messages Will Be Displayed When Threadpool Cannot Schedule a Task for Execution

More informative error messages will be displayed when ThreadPool cannot schedule a task for execution. This fixes #5305 #5801 (alexey-milovidov)
Enhanced error messages when the ThreadPool fails to schedule tasks, providing more detailed and informative feedback.

Why it matters

This feature addresses the issue of uninformative error messages in ThreadPool task scheduling failures. By improving the clarity of these error messages, users can more easily diagnose and resolve issues related to task execution scheduling.

How to use it

The improved error messages are automatically enabled in the ClickHouse server; no additional configuration is required from the user.