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 unclosed conn, shutdown errors #411

Merged
merged 1 commit into from
Aug 31, 2019
Merged

Fix unclosed conn, shutdown errors #411

merged 1 commit into from
Aug 31, 2019

Conversation

dcelasun
Copy link
Contributor

Closing a canal by calling Close() results in errors as described in #273.
Fix that by explicitly ignoring context cancellation as it's not really
an error, but an expected part of Close().

Also fix the unclosed connection described in #361 by using a
separate connection to kill the binlog streamer.

@siddontang
Copy link
Collaborator

PTAL @GregoryIan

Closing a canal by calling Close() results in errors as described in #273 [1].
Fix that by explicitly ignoring context cancellation as it's not really
an error, but an expected part of Close().

Also fix the unclosed connection described in #361 [2] by using a
separate connection to kill the binlog streamer.

[1] #273
[2] #361

This closes #273.
This closes #361.
@IANTHEREAL
Copy link
Collaborator

LGTM

@IANTHEREAL
Copy link
Collaborator

@siddontang PTAL

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

Successfully merging this pull request may close these issues.

3 participants