-
Notifications
You must be signed in to change notification settings - Fork 739
Closed
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
What did you do?
Use the version before v8.5.x:
tiup playground v8.1.0 --tiflash 0 --pd 1 --kv 4 --host 10.2.8.101 --tag test
» scheduler add evict-leader-scheduler 1
Success! The scheduler is created.
» scheduler config evict-leader-scheduler
{
"store-id-ranges": {
"1": [
{
"start-key": "",
"end-key": ""
}
]
}
}
Upgrade to v8.5.x:
tiup playground v8.5.2 --tiflash 0 --pd 1 --kv 4 --host 10.2.8.101 --tag test
» scheduler config evict-leader-scheduler
{
"store-id-ranges": {
"1": [
{
"start-key": "",
"end-key": ""
}
]
},
"batch": 0
}
The batch
will be changed to 0
, which leads to the evict-leader-scheduler not work.
Workaound:
- delete the scheduler and add it again
- or pd-ctl
scheduler config evict-leader-scheduler set batch 3
What version of PD are you using (pd-server -V
)?
v8.5.x
Metadata
Metadata
Assignees
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.