【 TiDB 使用环境】生产环境
【 TiDB 版本】6.2
【遇到的问题】修改配置文件不成功
【复现路径】tiup cluster edit-config tidb
【问题现象及影响】
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
【附件】
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配置不生效