Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 手动缩容TiFlash后,更新集群拓扑配置文件无法wq保存退出
【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】v5.4.2
【Encountered Problem】After manually scaling down TiFlash, modifying the cluster topology configuration file cannot be saved and exited.
【Reproduction Path】
Steps to execute:
- tiup ctl:v5.4.2 pd -u http://192.168.3.221:2379 store
- tiup ctl:v5.4.2 pd -u http://192.168.3.221:2379 store delete 5761
- Wait for the store corresponding to the TiFlash node to disappear or the state_name to change to Tombstone, then shut down the TiFlash process.
Check the TiFlash status as Tombstone using the tiup cluster display command - Delete the deployment directory and data directory of the TiFlash node
- After clearing the TiFlash configuration information using tiup cluster edit-config kruidb-cluster, it cannot be saved and exited with wq.
【Problem Phenomenon and Impact】
According to the steps in the Manual Scale Down TiFlash link, manually scale down TiFlash. After waiting for TiFlash to change to Tombstone status, shutting down the TiFlash process, and deleting the data files, updating the cluster configuration cannot be saved with wq.
After entering Y, it re-enters the configuration file editing interface. Entering N results in Nothing Changed.