Bug #111172 | X protocol does not report "too many connections" | ||
---|---|---|---|
Submitted: | 28 May 2023 4:19 | Modified: | 29 May 2023 12:14 |
Reporter: | Geert Vanderkelen | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Document Store: X Plugin | Severity: | S3 (Non-critical) |
Version: | 8.0.32, 8.0.36 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Error 1040, X Plugin |
[28 May 2023 4:19]
Geert Vanderkelen
[28 May 2023 5:38]
Geert Vanderkelen
Looking at the source, and trying to find a way to fix this, I can see that lots of errors are simply logged but not returned to the client, just closing the connection. That's not nice. In X plugin client.cc, you'll find: } catch (std::exception &e) { log_error(ER_XPLUGIN_FORCE_STOP_CLIENT, client_id(), e.what()); } But Client::run returns void. There are ways to returns the error, since some things are indeed reported back.
[29 May 2023 12:14]
MySQL Verification Team
Hello Geert, Thank you for the report and feedback. Regards, Umesh