v.20.11Improvement

Better Diagnostics for Client Connection Drops

Better diagnostics when client has dropped connection. In previous versions, Attempt to read after EOF and Broken pipe exceptions were logged in server. In new version, it's information message Client has dropped the connection, cancel the query.. #16329 (alexey-milovidov).
Improved diagnostics for dropped client connections with clearer logging messages.

Why it matters

This feature enhances server-side logging by replacing error-level messages like <code>Attempt to read after EOF</code> and <code>Broken pipe</code> that occurred when a client dropped the connection, with an informational message <code>Client has dropped the connection, cancel the query.</code>. This helps reduce noise in logs and provides clearer understanding of client connection issues.

How to use it

The improved diagnostics are enabled by default in the new version. Users do not need to apply any additional configuration; the server will now log dropped client connections as informational messages automatically.