-
Notifications
You must be signed in to change notification settings - Fork 976
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
Set mysql-show_processlist_extended make Proxysql crash #2863
Comments
I have also inserted the proxysql.db and the executable. |
Hi Marco, Thank you for the detailed report. |
I was about to ask if you have a reproducible test case, because I couldn't understand how it was possible to trigger this crash.
In other words, the client wasn't authenticated yet, it didn't complete the handshake, thus the charset variables weren't initialized yet. Thank you again for the report. |
Prevent crash if CHARACTER_SET_CONNECTION is not initialized yet #2863
@renecannao as u know use sysbench / sysbench-tpcc and the stresstool (java). Anyhow I saw u have already merged with v2.013 will test and let u know |
@renecannao tested and seems resolved will keep you informed if any issue will raise again. |
While running light load (5 threads 2 insert 2 select 1 delete ), once the parameter mysql-show_processlist_extended is inserted and loaded to runtime :
update global_variables set Variable_Value=1 where Variable_name='mysql-show_processlist_extended';
ProxySQL crash.
ProxySQL version
[root@proxysql1 proxysql]# proxysql --version
ProxySQL version 2.0.13-31-g6f11ea6, codename Truls
OS version
Linux proxysql1 3.10.0-1062.12.1.el7.x86_64 Remove argument MySQL_Data_Stream from MySQL_Protocol's function #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@proxysql1 proxysql]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
The steps to reproduce the issue
For me was enough to change the parameter, see attached file for query digest
The full ProxySQL error log (default location:
/var/lib/proxysql/proxysql.log
)see attached compressed file
If this is a crashing bug, please also include:
See attached compressed file
See attached compressed file
See attached compressed file
Linux proxysql1 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@proxysql1 proxysql]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
The text was updated successfully, but these errors were encountered: