前情提要:问: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