Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 修改配置文件不成功
[TiDB Usage Environment] Production Environment
[TiDB Version] 6.2
[Encountered Issue] Failed to modify the configuration file
[Reproduction Path] tiup cluster edit-config tidb
[Issue Phenomenon and Impact]
Starting component cluster
: /home/tidb/.tiup/components/cluster/v1.10.3/tiup-cluster edit-config tidb
New topology could not be saved: Failed to parse topology file: yaml: unmarshal errors:
line 20: field proxy-protocol.networks not found in type spec.TiDBSpec
[Attachment]
tidb_servers:
- host: 172.21.0.5
ssh_port: 22
port: 4000
status_port: 10080
deploy_dir: /tidb/deploy/tidb-4000
log_dir: /tidb/deploy/tidb-4000/log
config:
mem-quota-query: 10737418240
arch: amd64
os: linux
proxy-protocol.networks: 123.57.78.132
proxy-protocol.networks: 123.57.78.132 configuration is not effective