当只有一个tikv一个TiFlash节点时,缩容TiFlash组件报错,提示信息如下:
Open
Nobody has claimed this yet.
type/bug
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
当只有一个tikv一个TiFlash节点时,缩容TiFlash组件报错,提示信息如下:
- 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的么?
- What did you expect to see?
tiup cluster scale-in '1.1.1.1:9000';
移除tiflash
- What did you see instead?
tikv的配置不应该影响tiflash
- What version of TiUP are you using (
tiup --version)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tiup cluster scale-in entry point and reproduce the failure using one TiKV and one TiFlash node. Trace why the TiKV store-count requirement blocks TiFlash removal; done means the TiFlash node can be removed without applying the unrelated TiKV constraint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100