Skip to content
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

[close #654] Add RegionCacheInvalidCallBack (#653) #715

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

ti-srebot
Copy link
Collaborator

@ti-srebot ti-srebot commented Jan 30, 2023

cherry-pick #653 to release-3.3
You can switch your code base to this Pull Request by using git-extras:

# In client-java repo:
git pr https://github.com/tikv/client-java/pull/715

After apply modifications, you can push your change to this PR via:

git push git@github.com:ti-srebot/client-java.git pr/715:release-3.3-dda1029b9421

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

  • No code

Check List for Tests

This PR has been tested by at least one of the following methods:

  • Unit test

Side effects

  • NO side effects

Related changes

  • NO related changes

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Collaborator Author

/run-all-tests

@codecov
Copy link

codecov bot commented Jan 30, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release-3.3@2029478). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff               @@
##             release-3.3     #715   +/-   ##
==============================================
  Coverage               ?   37.97%           
  Complexity             ?     1605           
==============================================
  Files                  ?      278           
  Lines                  ?    17462           
  Branches               ?     1984           
==============================================
  Hits                   ?     6631           
  Misses                 ?    10174           
  Partials               ?      657           

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zhangyangyu zhangyangyu merged commit c85eeae into tikv:release-3.3 Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants