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/infinite retries #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

makinada
Copy link

Hi,

I fixed an issue where connection retry was happening infinitely on a MySQL Server error despite of the retry limit setting.
The issue does not happen if the very first connect to MySQL fails. This happens only when the subsequent binlog calls such as #set_position or #wait_for_next_event.

Please note that I'm using a version of ruby-binlog and mysql-replication-listener which raise an exception when an error happens.

https://github.com/hapyrus/ruby-binlog
https://github.com/hapyrus/mysql-replication-listener

Thanks!
-Mak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant