"Documentation Error in 'TiFlash Storage-Compute Separation Architecture and S3 Support'"

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 《TiFlash 存算分离架构与 S3 支持》文档描述有错误

| username: dba-kit

In TiFlash 存算分离架构与 S3 支持 | PingCAP 文档中心, when scaling in TiFlash nodes, the given command is tiup cluster scale-in mycuster -R tiflash:


However, when actually executing it, an error occurs because scale-in only supports -N, scaling in nodes one by one:

| username: srstack | Original post link

It should be lowercase, or --role.

| username: dba-kit | Original post link

The same error will occur. I guess it is intentionally designed this way. After all, scaling down needs to be done very cautiously. If used incorrectly, it can easily cause the cluster to become unavailable (whether it’s scaling down all tidb-servers at once or components like tiflash/tikv, the risks are much higher).

| username: TiDBer_jYQINSnf | Original post link

There is indeed no -R flag in the scale-in code. I checked from release 1.0 to release 1.9 and couldn’t find it. It was probably a mistake.

| username: ShawnYan | Original post link

| username: dba-kit | Original post link

Efficiency! Additionally, I know a small tip: you can use commas with -N to select multiple nodes at once :monkey:

| username: Billmay表妹 | Original post link

So efficient, amazing teammate!

| username: dba-kit | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.