-
Notifications
You must be signed in to change notification settings - Fork 726
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
api: add api for querying replication state for regions in the given key ranges #4215
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Codecov Report
@@ Coverage Diff @@
## master #4215 +/- ##
==========================================
+ Coverage 74.84% 74.96% +0.12%
==========================================
Files 260 260
Lines 26747 26766 +19
==========================================
+ Hits 20019 20066 +47
+ Misses 4951 4932 -19
+ Partials 1777 1768 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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
@disksing PLZ help merging, the new commit should complete the coverage. |
/merge |
@lhy1024: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 92eeb61
|
plz fix ci |
@lhy1024 Fixed :) |
/merge |
@lhy1024: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 373bd61
|
close #4241 ref pingcap/tidb#28199 Signed-off-by: xhe <xw897002528@gmail.com>
Sorry, plz merge again, fixed invalid commit message error @lhy1024 |
/merge |
@disksing: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 0d76271
|
…key ranges (tikv#4215) close tikv#4241 ref pingcap/tidb#28199 Signed-off-by: xhe <xw897002528@gmail.com> Signed-off-by: hzh0425 <642256541@qq.com>
Signed-off-by: xhe xw897002528@gmail.com
What problem does this PR solve?
close #4241
need an exposed api to check if regions or bundles are replicated.
What is changed and how it works?
I choose to make an api that will return the replicated state for regions in the given key ranges. It is added as
/regions/replicated?startKey=xx&endKey=xx
.Check List
Tests
Code changes
Side effects
Release note