-
Notifications
You must be signed in to change notification settings - Fork 728
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
Don't remove orphan peer if the peer count doesn't satisfy the replica requirement #7584
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
report/customer
Customers have encountered this bug.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
related #6573 |
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Dec 20, 2023
close tikv#7584 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
This was referenced Dec 20, 2023
ti-chi-bot bot
pushed a commit
that referenced
this issue
Dec 20, 2023
…e count (#7581) (#7591) close #7584 The healthy orphan peer should be the last one to be removed only if there are extra peers to keep the high availablility. Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: bufferflies <1045931706@qq.com> Co-authored-by: tongjian <1045931706@qq.com> Co-authored-by: bufferflies <1045931706@qq.com>
/found customer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
report/customer
Customers have encountered this bug.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
The distribution of the tikv is defined as below:
instance label
tikv-1 zone:z1
tikv-2 zone:z1
tikv-3 zone:z1
tikv-4 zone:z2
tikv-5 zone:z2
tikv-6 zone:z2
AegionA located in [tikv-1,tikv-2,tikv3]
Then I build new rule to move regionA into the z2,
The first operator is remove orphan peer.
The unit test:
What did you do?
What did you expect to see?
Add peer first and then remove orphan peer
What did you see instead?
What version of PD are you using (
pd-server -V
)?6.5.4 master
The text was updated successfully, but these errors were encountered: