pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
424 stars 312 forks source link

当只有一个tikv一个TiFlash节点时,缩容TiFlash组件报错,提示信息如下: #2449

Open chiamingiang opened 3 months ago

chiamingiang commented 3 months ago

Bug Report

当只有一个tikv一个TiFlash节点时,缩容TiFlash组件报错,提示信息如下:

  1. What did you do? 当只有一个TiFlash节点时,缩容TiFlash组件报错,提示信息如下: [PD:core:ErrStoresNotEnough]can not remove store 68 since the number of up stores would be 1 while need 3

使用tiup cluster scale-in也报相同的错误。这个控制不是TiKV的么?

  1. What did you expect to see?

tiup cluster scale-in '1.1.1.1:9000'; 移除tiflash

  1. What did you see instead?

tikv的配置不应该影响tiflash

  1. What version of TiUP are you using (tiup --version)?