v.19.16Improvement

Add a Message in Case of Queue_wait_max_ms Wait Takes Place

Add a message in case of queue_wait_max_ms wait takes place. #7390 (Azat Khuzhin)
Adds a notification message when a queue_wait_max_ms wait occurs in ClickHouse.

Why it matters

This feature improves observability by alerting users whenever the system experiences delays due to queue_wait_max_ms wait times. It helps diagnose and understand performance bottlenecks related to query queue wait limits.

How to use it

No explicit action is required to enable this feature; when a wait caused by queue_wait_max_ms triggers, ClickHouse will automatically output a corresponding message indicating the wait event.