-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
store/tikv: refine streaming client re-create log and use a smarter backoff strategy #11307
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11307 +/- ##
==============================================
- Coverage 81.53% 81.2694% -0.2607%
==============================================
Files 424 423 -1
Lines 91408 90152 -1256
==============================================
- Hits 74525 73266 -1259
+ Misses 11594 11578 -16
- Partials 5289 5308 +19 |
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
PTAL @jackysp |
/run-all-tests |
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
PTAL @lysu |
/run-all-tests |
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
cherry pick to release-3.0 failed |
What problem does this PR solve?
When TiKV is down, or restart and bind to another port, the re-create streaming client loop can't perceive the changes.
Although we use the recycle idle connections mechanism to handle that, the error log is still boring and makes our users confusing.
What is changed and how it works?
Check List
Tests
Related changes