Failed to Modify Configuration Online with tiup cluster edit-config

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

Original topic: tiup cluster edit-config 在线修改配置不成功

| username: 烂番薯0

New topology could not be saved: immutable field changed: TiFlashServers.0.DeployDir changed from ‘/tidb-deploy/tiflash-9000’ to ‘/opt/tidb-tiflash/tiflash-9000’, TiFlashServers.0.data_dir changed from ‘/tidb-data/tiflash-9000’ to ‘/opt/tidb-tiflash-data/tiflash-9000’, TiFlashServers.0.LogDir changed from ‘/tidb-deploy/tiflash-9000/log’ to ‘/opt/tidb-tiflash/tiflash-9000/log’
Do you want to continue editing? [Y/n]: (default=Y)

| username: Kongdom | Original post link

Because the deploy_dir field cannot be modified using tiup cluster edit-config.
You can refer to Topology File Configuration for Deploying TiDB Cluster via TiUP | PingCAP Docs

| username: 烂番薯0 | Original post link

Okay, thank you.

| username: Kongdom | Original post link

:handshake: :handshake: :handshake: If there is indeed a need, you can refer to 专栏 - 使用TiUP 修改集群目录实践 | TiDB 社区

| username: system | Original post link

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