Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tiflash目录被误删,重启集群后起不来
【TiDB Usage Environment】Production\Testing Environment\POC
【TiDB Version】
【Encountered Problem】The entire directory of tiflash in one of the environments was deleted by someone, and the cluster cannot be restarted. How can this be handled? Is it enough to remove the tiflash configuration in the config?
【Reproduction Path】What operations were performed that caused the issue
【Problem Phenomenon and Impact】
When using tiup cluster start
, use the -R
option to sequentially start PD, TiKV, and TiDB. Then, scale out a new TiFlash node, and finally scale in the damaged TiFlash node.
Thanks a lot! In the test environment, I directly removed TiFlash from the configuration and then restarted.
This method is good, and it worked successfully in the experiment.
There are still some doubts. If the TiFlash node cannot start, it should not be possible to scale down, right?
First expand and then shrink. Even if it can’t start, you can still shrink it. After it goes DOWN, the replicachecker will start to replenish replicas on other TiFlash nodes.
Thank you, I’ll give it a try when I get a chance. Previously, when the drainer went down, it couldn’t be scaled down directly using tiup.
This topic was automatically closed 1 minute after the last reply. No new replies are allowed.