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

The reject-leader property without label-scheduler take affect after add&remove evict-leader-scheduler #5866

Open
pcqz opened this issue Jan 14, 2023 · 1 comment

Comments

@pcqz
Copy link

pcqz commented Jan 14, 2023

Bug Report

What did you do?

tiup playground v5.4.1 --db 1 --kv 3 --pd 1
pd-ctl -u 127.0.0.1:34775 -i
» store label 1 host kv1
» store label 2 host kv2
» store label 3 host kv3
» config set label-property reject-leader host kv3
» scheduler add evict-leader-scheduler 3
» scheduler remove evict-leader-scheduler
» scheduler show
[
  "balance-region-scheduler",
  "balance-leader-scheduler",
  "balance-hot-region-scheduler"
]

What did you expect to see?

After removing evict-leader-scheduler, the leader_count of store 3 should be balanced.

What did you see instead?

The leader_count of store 3 is still 0 until the reject-leader property is deleted.

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

v5.4.1

@pcqz pcqz added the type/bug The issue is confirmed as a bug. label Jan 14, 2023
@lhy1024
Copy link
Contributor

lhy1024 commented Jan 16, 2023

it seem to be similar with #5853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants