-
Notifications
You must be signed in to change notification settings - Fork 983
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
ProxySQL 2.6.6 crashes after updating mysql_query_rules #4695
Comments
Hi @cbrianhill . |
Hi @renecannao , I suspected that the crash site might not be directly related to the change in query rules. The change we made to the query rules was to set a value for the We had deployed version 2.6.3, but believe we ran into #4572 and had recently updated our clusters to version 2.6.6. I'm going to work on a more solid repro scenario today and will update this issue with anything I can find. |
Hi @cbrianhill . The backtrace points to a crash related to the fetching of rows (or, potentially columns definitions) during the execution of a prepared statements. |
@renecannao , thank you for the tips! Really appreciate them. I can safely share the resultset here, which looks interesting to me:
I'm not familiar with the code in libmariadb, but it seems like a problem that The row looks like this:
The network buffer in the
|
Hi there @renecannao , I wanted to just ping and see if the latest comment on this issue provides any ideas or intuition for you as to what the cause of the crash might be. We appreciate your engagement here, and, of course, don't have any expectations regarding further support, but I also wanted to mention that we've tested the same operations in our test environment under load, and have not been able to reproduce the scenario. FWIW, the broader context around our efforts is a MySQL upgrade from version 5.7 to version 8 (well, the corresponding Aurora versions). We've tested using the AWS blue/green deployment feature for completing the database upgrade we're planning, since we're on an Aurora database, and discovered #4223 which essentially boils down to the fact that AWS' blue/green deployments break the Aurora autodiscovery functionality within ProxySQL. We can make another attempt in our production environment, which may work well if the crash was due to something truly extraordinary. |
We've observed a crash in ProxySQL. The crash happens immediately after running
LOAD MYSQL QUERY RULES TO RUNTIME
.We observed this in the logs:
Additional details:
mysql_query_rules
LOAD MYSQL QUERY RULES TO RUNTIME
The core dump likely includes sensitive information and may be difficult to share.
However, I can share most of the backtrace from gdb:
We experienced this on our production server, under a small amount of load, but did not experience it while making the same update in our testing environment. I'm planning to continue working on a better repro scenario.
The text was updated successfully, but these errors were encountered: