-
Notifications
You must be signed in to change notification settings - Fork 286
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
processor: fix error chan buffer full will block the whole server #1309
Conversation
/run-all-tests |
LGTM |
LGTM |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@amyangfei merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@amyangfei merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@amyangfei merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@amyangfei merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
/run-all-tests |
@amyangfei merge failed. |
Fixed a panic introduced in #1247
|
/run-all-tests |
1 similar comment
/run-all-tests |
/run-integration-tests |
2 similar comments
/run-integration-tests |
/run-integration-tests |
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #1326 |
What problem does this PR solve?
Fix the channel block issue found in #1305
What is changed and how it works?
As for channel block issue, there are two solutions: increase the channel buffer size or change all send to error operation to the non-blocking way. This PR chooses the latter one for the following reasons
error channel
is used to receive the first happened error and stop the processor, as for the addition errors, add a log is enough, we don't lose any information.Check List
Tests
Release note