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
raftstore: polish the availability check on conf change requests #16486
Conversation
Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com>
[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. |
Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com>
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
} | ||
} | ||
} | ||
|
||
let is_healthy = normal_voters.len() > slow_voters.len(); |
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.
One more tip, if is_healthy
already is false
, the following steps for checking could be skipped.
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
Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com>
/merge |
@tonyxuqqi: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
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: 5df0f68
|
…v#16486) close tikv#16465 When calculating the impact of conf change, include all operations into considerations. Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com>
/cherry-pick release-7.5 |
close tikv#16465 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@tonyxuqqi: 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. |
…v#16486) close tikv#16465 When calculating the impact of conf change, include all operations into considerations. Signed-off-by: tonyxuqqi <tonyxuqi@outlook.com> Signed-off-by: dbsid <chenhuansheng@pingcap.com>
What is changed and how it works?
Issue Number: Close #16465
What's Changed:
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
Release note