-
Notifications
You must be signed in to change notification settings - Fork 198
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
diff: fix send on closed channel panic #374
Conversation
/run-integration-test |
/run-integration-tests |
@csuzhangxc @GMHDBJD PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What problem does this PR solve?
fix issue #375
when cancel the context, the
CheckTableData
will return directly with channelcheckResultCh
closed, but somecheckChunksDataEqual
goroutines are still running, they may send results to the closed channel.What is changed and how it works?
fix it
Check List
Tests