You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What did you do?
Deploy a cluster that has only one TiKV and one PD. And then restart the cluster.
% tiup cluster reload test-cluster
Restarting component pd
Stopping instance 172.0.0.1
Stop pd 172.0.0.1:2349 success
Starting instance pd 172.0.0.1:2349
Start pd 172.0.0.1:2349 success
Restarting component tikv
Still waitting for the PD leader to be elected
Evicting 1 leaders from store 172.0.0.1:20160...
Still waitting for 1 store leaders to transfer...
Still waitting for 1 store leaders to transfer...
What did you expect to see?
Reload success quickly.
What did you see instead?
tiup keeps waiting for TiKV to evict all its leader. However, there is only one TiKV, so evict leader will never succeed. It will wait until timeout.
What version of TiUP are you using (tiup --version)?
Note that the same deploy topology, reloading pd can finish instantly. tiup seems to skip evicting leader for PD already. It should do the same thing for TiKV.
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
Deploy a cluster that has only one TiKV and one PD. And then restart the cluster.
What did you expect to see?
Reload success quickly.
What did you see instead?
tiup keeps waiting for TiKV to evict all its leader. However, there is only one TiKV, so evict leader will never succeed. It will wait until timeout.
What version of TiUP are you using (
tiup --version
)?Note that the same deploy topology, reloading pd can finish instantly. tiup seems to skip evicting leader for PD already. It should do the same thing for TiKV.
The text was updated successfully, but these errors were encountered: