TiUP扩容失败 key "binlog.ignore-error" already set in map

前情提要:问:show variables like "log_bin";

按照上面先做了缩容pump和drainer;然后扩容的时候报如下错误:

Starting component cluster: /home/tidb/.tiup/components/cluster/v1.1.1/tiup-cluster scale-out tidb-test2 /www/scale-out.yaml

Error: Failed to parse topology file /www/scale-out.yaml (topology.parse_failed)
caused by: yaml: unmarshal errors:
line 3: key “binlog.enable” already set in map
line 4: key “binlog.ignore-error” already set in map

Please check the syntax of your topology file /www/scale-out.yaml and try again.
Error: run /home/tidb/.tiup/components/cluster/v1.1.1/tiup-cluster (wd:/home/tidb/.tiup/data/S9aHTf9) failed: exit status 1

根据这两行提示,应该是设置了重复的建值,可以检查下,去掉重复建值

大佬看下前面的前情提要;我就是再重复扩-缩-扩

可以啦

解决就好:call_me_hand:

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。