Skip to content
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

PD cannot add replicas when all Stores in a zone are removed #3705

Closed
disksing opened this issue May 25, 2021 · 1 comment · Fixed by #3708
Closed

PD cannot add replicas when all Stores in a zone are removed #3705

disksing opened this issue May 25, 2021 · 1 comment · Fixed by #3708
Assignees
Labels
severity/major type/bug The issue is confirmed as a bug.

Comments

@disksing
Copy link
Contributor

Bug Report

What did you do?

Consider a 3 replica cluster. It has 6 tikv servers located among 3 zones. We use pd-ctl to delete all stores in a zone.

What did you expect to see?

As now we only have 2 available zones, PD should replace offline replicas with new peer the other zones.

What did you see instead?

Cannot replace down peer. Because PD refuses to decrease region isolation score.

What version of PD are you using (pd-server -V)?

master

@disksing disksing added the type/bug The issue is confirmed as a bug. label May 25, 2021
@disksing disksing self-assigned this May 25, 2021
@cosven
Copy link
Member

cosven commented May 28, 2021

/severity major

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants