-
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
client: Fix the issue that TiKV reconnecting may make CDC stuck for a while #531
client: Fix the issue that TiKV reconnecting may make CDC stuck for a while #531
Conversation
/run-integration-tests |
cdc/kv/client_test.go
Outdated
// if server1 != nil { | ||
// server1.Stop() | ||
// } |
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.
Could you remove these comments?
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.
Oh, sorry.
Codecov Report
@@ Coverage Diff @@
## master #531 +/- ##
================================================
+ Coverage 26.5300% 30.7646% +4.2345%
================================================
Files 71 68 -3
Lines 7614 6683 -931
================================================
+ Hits 2020 2056 +36
+ Misses 5449 4480 -969
- Partials 145 147 +2 |
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
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
/rebuild |
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
/rebuild |
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?
This PR tries to fix the issue about reconnecting TiKV may make CDC stuck for a while, and added some debug logs for investigation.
Check List
Tests
Release note