-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] COM_RESET_CONNECTION for resetting connection #3656
Comments
Hi @leenoix ! To make things even more interesting, ProxySQL supports
We currently do not have any plan/timeline for this feature, but we can surely schedule it. Meanwhile, if the use of |
@renecannao |
By the way, it seems like setting this variable to 0 almost always doesn't cause COM_CHANGE_USER, but sometimes we are facing some COM_CHANGE_USER related errors in proxysql logs even with the value set to 0. (We are sure that value is 0 since we have used this value for months without modifying )
I think resetting connection is being done on particular circumstances. @renecannao Is there anything we can do to make proxysql not to reset connection at all? (proxysql version we are using is 2.0.16) |
@renecannao we're also that even with "connpoll_reset_queue_length=0", COM_CHANGE_USER is happening in 2.0.16. any situation you can guess? maybe upgrading to the latest version is suggested? |
Currently, it looks like proxysql is using COM_CHANGE_USER for resetting the connection.
However, the backend we are using (vitess) is not supporting COM_CHANGE_USER, but it only has support for COM_RESET_CONNECTION.
Furthermore, AFAIK, COM_RESET_CONNECTION is light weight version when resetting the connection, so I think it would be very nice if we can control wether to send COM_CHANGE_USER or COM_RESET_CONNECTION.
Is there any plan/timeline for this feature? If not, could you please consider having the feature :)
Thank you.
The text was updated successfully, but these errors were encountered: