-
Notifications
You must be signed in to change notification settings - Fork 289
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
test(ticdc): Fix kv ut meet panic: close of closed channel in cdc/kv
(#4318)
#4343
test(ticdc): Fix kv ut meet panic: close of closed channel in cdc/kv
(#4318)
#4343
Conversation
Signed-off-by: ti-chi-bot <[email protected]>
[REVIEW NOTIFICATION] This pull request has not been approved. To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-dm-compatibility-test |
/run-unit-test |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: f362053
|
This is an automated cherry-pick of #4318
What problem does this PR solve?
Issue Number: close #4135
What is changed and how it works?
(1) use atomic int to avoid close channel many times
(2) use a smaller connectionAge and heartbeat interval to shorten closed connection detcetion
Check List
Tests
Code changes
Side effects
Related changes
Release note