-
Notifications
You must be signed in to change notification settings - Fork 721
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
minResolvedTS: Provide an API to fetch the store resolved_ts #6413
Conversation
Signed-off-by: husharp <[email protected]>
[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. |
Skipping CI for Draft Pull Request. |
Signed-off-by: husharp <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #6413 +/- ##
==========================================
+ Coverage 75.15% 75.17% +0.02%
==========================================
Files 408 408
Lines 41247 41164 -83
==========================================
- Hits 30999 30945 -54
+ Misses 7578 7542 -36
- Partials 2670 2677 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
server/cluster/cluster.go
Outdated
func (c *RaftCluster) GetStoreMinResolvedTS(storeID uint64) uint64 { | ||
c.RLock() | ||
defer c.RUnlock() | ||
if !c.isInitialized() { |
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.
Do we also need to check IsAvailableForMinResolvedTS
here?
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.
added.
Signed-off-by: husharp <[email protected]>
/merge |
@JmPotato: 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: 23d630e
|
close tikv#6386 Provide an API to fetch the store resolved_ts Signed-off-by: husharp <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com> Signed-off-by: zeminzhou <[email protected]>
/cherry-pick release-7.1 |
@JmPotato: new pull request created to branch In response to this:
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. |
/cherry-pick release-6.5 |
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request could not be created: failed to create pull request against tikv/pd#release-7.1 from head ti-chi-bot:cherry-pick-6413-to-release-7.1: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"A pull request already exists for ti-chi-bot:cherry-pick-6413-to-release-7.1."}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"} |
close tikv#6386 Signed-off-by: ti-chi-bot <[email protected]>
@JmPotato: new pull request could not be created: failed to create pull request against tikv/pd#release-6.5 from head ti-chi-bot:cherry-pick-6413-to-release-6.5: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"A pull request already exists for ti-chi-bot:cherry-pick-6413-to-release-6.5."}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"} In response to this:
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. |
close tikv#6386 Signed-off-by: ti-chi-bot <[email protected]>
…6521) close #6386, ref #6413 Provide an API to fetch the store resolved_ts Signed-off-by: husharp <[email protected]> Co-authored-by: husharp <[email protected]>
…6522) close #6386, ref #6413 Provide an API to fetch the store resolved_ts Signed-off-by: husharp <[email protected]> Co-authored-by: husharp <[email protected]> Co-authored-by: Hu# <[email protected]>
What problem does this PR solve?
Issue Number: Close #6386
What is changed and how does it work?
Check List
Tests
Release note