-
Notifications
You must be signed in to change notification settings - Fork 118
[close #654] Add RegionCacheInvalidCallBack #653
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
Conversation
a78d6f3 to
9783ed6
Compare
Codecov ReportBase: 37.65% // Head: 37.97% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #653 +/- ##
============================================
+ Coverage 37.65% 37.97% +0.32%
- Complexity 1589 1603 +14
============================================
Files 278 278
Lines 17420 17462 +42
Branches 1982 1984 +2
============================================
+ Hits 6559 6631 +72
+ Misses 10207 10175 -32
- Partials 654 656 +2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
Please open an issue to describe it. |
…hen the region cache fails, Add RegionCacheInvalidCallBack. Signed-off-by: qidi1 <1083369179@qq.com>
9783ed6 to
56d1518
Compare
src/main/java/org/tikv/common/operation/RegionErrorHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/org/tikv/common/operation/RegionErrorHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
src/main/java/org/tikv/common/operation/RegionErrorHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/org/tikv/common/operation/RegionErrorHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
src/main/java/org/tikv/common/operation/RegionErrorHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
Signed-off-by: qidi1 <1083369179@qq.com>
src/main/java/org/tikv/common/operation/RegionErrorHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: qidi1 <1083369179@qq.com>
|
@shiyuhang0, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. You are not a reviewer or committer or co-leader or leader. |
|
This PR is stale because it has been open 30 days with no activity. Remove the status/stale label or comment or this PR will be closed in 7 days. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-3.3 in PR #715 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: tomato <38561029+qidi1@users.noreply.github.com>
Signed-off-by: qidi1 1083369179@qq.com
What problem does this PR solve?
Issue Number: close #654
Problem Description: TBD
What is changed and how does it work?
Add RegionCacheInvalidCallBack. Let the upper layers customize their own behavior when the region cache fails.
Code changes
Check List for Tests
This PR has been tested by at least one of the following methods:
Side effects
Related changes