Skip to content
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

Fix floating point exception. #3426

Merged
merged 1 commit into from
May 3, 2021
Merged

Fix floating point exception. #3426

merged 1 commit into from
May 3, 2021

Conversation

winmutt
Copy link

@winmutt winmutt commented Apr 29, 2021

While working with a large number of backends and replication groups with the default monitor_read_only_interval, I was repeatedly hitting floating point exceptions in largely unrepeatable ways. A core dump showed that https://github.com/sysown/proxysql/blob/v2.1.1/lib/MySQL_Monitor.cpp#L2800 was where the exception happened. This proposed fix is perhaps not the most appropriate, an error message might need to be generated or other action needs to happen. In the meantime, increasing monitor_read_only_interval to a reasonable number has corrected my issue.

@pondix
Copy link
Contributor

pondix commented Apr 29, 2021

Automated message: PR pending admin approval for build testing

@JavierJF JavierJF merged commit 05c8255 into sysown:v2.2.0 May 3, 2021
@JavierJF
Copy link
Collaborator

JavierJF commented May 3, 2021

Merged, thanks for the PR!

@winmutt
Copy link
Author

winmutt commented May 3, 2021

Will this be backported to 2.1.x or should I open a PR against that branch?

@JavierJF JavierJF added the bug label May 3, 2021
@JavierJF JavierJF added this to the v2.2.0 milestone May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants