How to Scale TiFlash Online

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

Original topic: 如何在线扩缩容tiflash

| username: TiDBer_yBunUeUc

[TiDB Usage Environment] Production Environment
Can the TiFlash node be taken offline in a production TiDB cluster? After removing TiFlash, can the cluster continue to be expanded online?

| username: zhanggame1 | Original post link

Refer to the official documentation and follow the instructions.

The main point is to adjust the number of TiFlash replicas for the data table to be no greater than the number of TiFlash nodes after scaling down in order to scale down successfully.
After scaling down, you can scale up online.

| username: TiDBer_yBunUeUc | Original post link

Got it, thanks.

| username: tidb狂热爱好者 | Original post link

Don’t use 7.4, use 7.5.

| username: TiDBer_yBunUeUc | Original post link

As the official documentation provided by the expert, the scale-down was successful. Thank you.

| username: 像风一样的男子 | Original post link

The person above is right, 7.4 is a test version, don’t use it.

| username: ShawnYan | Original post link

7.4 is the DMR version, and 7.5 is the LTS version. It is recommended to use the LTS version in production environments.

| username: TiDBer_yBunUeUc | Original post link

Alright, alright, let’s immediately upgrade to 7.5 and get going.

| username: kelvin | Original post link

7.5 is the correct answer.

| username: dba远航 | Original post link

Expansion is possible.

| username: oceanzhang | Original post link

Then I’ll quickly upgrade and try version 7.5.

| username: system | Original post link

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