-
Notifications
You must be signed in to change notification settings - Fork 726
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
evict-leader-scheduler lost config after PD leader transfer #6897
Comments
After the first PD leader transfer (pd-2 → pd-0 in the example), pd/server/cluster/coordinator.go Line 376 in dfe7c08
pd/server/cluster/coordinator.go Line 397 in dfe7c08
The first (line 376) is the new way to create scheduler with the independent configuration. It has correctly added the scheduler with config store = 1,2,3 The second (line 397) is the old way to create the scheduler, which computes the config from the initial args, which is just The second "old way" |
close #6897 Signed-off-by: husharp <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
close tikv#6897 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#6897 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#6897 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#6897 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#6897 Signed-off-by: ti-chi-bot <[email protected]>
close #6897 Signed-off-by: husharp <[email protected]> Co-authored-by: husharp <[email protected]> Co-authored-by: Hu# <[email protected]>
close #6897 Signed-off-by: husharp <[email protected]> Co-authored-by: husharp <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
close #6897 Signed-off-by: husharp <[email protected]> Co-authored-by: husharp <[email protected]>
close tikv#6897 Signed-off-by: husharp <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
close #6897 Signed-off-by: husharp <[email protected]> Co-authored-by: husharp <[email protected]> Co-authored-by: Hu# <[email protected]>
Bug Report
What did you do?
$ tiup playground v7.1.1 --mode tikv-slim --pd 3 --kv 3 --without-monitor
What did you expect to see?
The
evict-leader-scheduler
retains the config showing all stores 1, 2, 3.What did you see instead?
After the second transfer the scheduler can only see the first added store 1.
What version of PD are you using (
pd-server -V
)?v6.5.3, v7.1.1
The text was updated successfully, but these errors were encountered: