tikv / pd

Placement driver for TiKV
Apache License 2.0
1.03k stars 714 forks source link

pdms: after scale out, online number can't return to 0 even if cluster is balance #8331

Closed mayjiang0203 closed 3 days ago

mayjiang0203 commented 5 days ago

Bug Report

What did you do?

What did you expect to see?

What did you see instead?

583a7319-6406-46e9-be71-1ed0c0264d4c

b4e4c0e3-c483-49e4-b420-a36044e120a0

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

master

mayjiang0203 commented 5 days ago

/severity major /assign @rleungx

rleungx commented 5 days ago

The problem is before we calculate the progress, we need to check if the prepare checker is prepared. But if we deploy scheduling as an independent service, the prepare checker will never run, which skips the progress calculation.