checker: fix the too many orphan peers cannot be removed#6574
checker: fix the too many orphan peers cannot be removed#6574ti-chi-bot[bot] merged 2 commits intotikv:masterfrom
Conversation
c531cee to
f56ca51
Compare
f56ca51 to
2db0579
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #6574 +/- ##
==========================================
+ Coverage 74.61% 74.66% +0.04%
==========================================
Files 416 416
Lines 42576 42581 +5
==========================================
+ Hits 31769 31794 +25
+ Misses 7995 7991 -4
+ Partials 2812 2796 -16
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
2db0579 to
63e6a54
Compare
Signed-off-by: nolouch <nolouch@gmail.com>
63e6a54 to
0229f17
Compare
| suite.cluster.AddLeaderStore(4, 1) | ||
| suite.cluster.AddLeaderStore(5, 1) | ||
| suite.cluster.AddLeaderStore(6, 1) | ||
| suite.cluster.AddRegionWithLearner(1, 1, []uint64{2, 3}, []uint64{4, 5, 6}) |
There was a problem hiding this comment.
This comment should have nothing to do with this PR. But I want to know what happen if here is suite.cluster.AddRegionWithLearner(1, 1, []uint64{2, 3}, []uint64{4}), and other behaviors are same.
There was a problem hiding this comment.
It seems not return operator
There was a problem hiding this comment.
yes, because need len(OrphanPeers) >=2
Signed-off-by: nolouch <nolouch@gmail.com>
|
Why bot does not add label for this PR.. |
|
/merge |
|
@nolouch: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
DetailsInstructions 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. |
|
@nolouch: DetailsIn 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. |
Bot offline for serval minutes, please re approve it again with github review approving. |
|
[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. DetailsReviewer can indicate their review by submitting an approval review. |
|
/merge |
|
@CabinfeverB: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
DetailsInstructions 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. DetailsCommit hash: 482cd9b |
|
/test build |
|
In response to a cherrypick label: new pull request created to branch |
|
In response to a cherrypick label: new pull request created to branch |
close #6573, ref #6574 rule-checker: fix the too many orphan peers that cannot be removed - let the health peer can be removed once there exist redundant Signed-off-by: nolouch <nolouch@gmail.com> Co-authored-by: nolouch <nolouch@gmail.com> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
What problem does this PR solve?
Issue Number: Close #6573
What is changed and how does it work?
Check List
Tests
Release note