-
Notifications
You must be signed in to change notification settings - Fork 727
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
placement: do not delete orphan peers if some peers selected by RuleFit is down or pending #4067
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. |
If pending peer is considered not satisfied, the checker will create an operator to replace the pending peer immediately. But I think in most cases, we should wait for the status to become normal rather than replace it. |
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
@disksing I've reimplemented the patch, PTAL. |
Codecov Report
@@ Coverage Diff @@
## master #4067 +/- ##
==========================================
+ Coverage 74.55% 74.64% +0.09%
==========================================
Files 258 258
Lines 26079 26085 +6
==========================================
+ Hits 19444 19472 +28
+ Misses 4893 4880 -13
+ Partials 1742 1733 -9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
btw, can we add a test case for it? |
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.
could you add a test?
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
/merge |
@nolouch: 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: a01cc45
|
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created: #4073. |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created: #4074. |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created: #4075. |
…it is down or pending (tikv#4067) * address comment Signed-off-by: Andy Lok <andylokandy@hotmail.com> * add test Signed-off-by: Andy Lok <andylokandy@hotmail.com> Co-authored-by: ShuNing <nolouch@gmail.com>
…it is down or pending (#4067) (#4075) * This is an automated cherry-pick of #4067 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> * reslove commit Signed-off-by: nolouch <nolouch@gmail.com> Co-authored-by: Andy Lok <andylokandy@hotmail.com> Co-authored-by: nolouch <nolouch@gmail.com> Co-authored-by: 混沌DM <hundundm@gmail.com>
…it is down or pending (tikv#4067) * address comment Signed-off-by: Andy Lok <andylokandy@hotmail.com> * add test Signed-off-by: Andy Lok <andylokandy@hotmail.com> Co-authored-by: ShuNing <nolouch@gmail.com>
What problem does this PR solve?
fixes #4045
Related changes
Release note