-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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] avoid too many times of backoff when we retry for batch cop #18999
Conversation
This reverts commit 8e7d1ce.
Codecov Report
@@ Coverage Diff @@
## master #18999 +/- ##
===========================================
Coverage 79.3846% 79.3846%
===========================================
Files 546 546
Lines 147943 147943
===========================================
Hits 117444 117444
Misses 21007 21007
Partials 9492 9492 |
Normally run |
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.
LGTM
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #19017 |
…cop (#18999) (#19017) Signed-off-by: ti-srebot <[email protected]>
What problem does this PR solve?
Problem Summary:
When a store has failed and we retry a batch cop request, we apply backoff for every region, which results in too long wait-time. Indeed we should backoff once for every store fail.
What is changed and how it works?
we should backoff once for every store fail.
What's Changed:
How it Works:
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
None
Release note