WL#9267: Mysqlx connection timeout

Affects: Server-8.0   —   Status: Complete

Description

X Plugin monitors not authenticated connections for their time of living. User is dropped after the time reaches the maximum allowed time. Authenticated connections are not monitored. When peer application is going to hang after authentication (doesn't generate queries) then it is going to take server resources forever. If fault application leaves a connection then after some time the number of maximum allowed connections could be reached easily ('mysqlx_max_connections' or 'max_connections'). It could have serious consequences for other users, like blocking access for new connections.

To secure the MySQL Servers and X Plugins resources the plugin needs to monitor time of all I/O operations and drop idle connections.

Notes

Same timeouts for MySQL Server: