tidb-binlog部署失败

版本:4.0.0-rc

tiup cluster scale-out develop scale-out.yaml

Starting /home/tidb/.tiup/components/cluster/v0.4.6/cluster scale-out develop scale-out.yaml Error: port ‘8250’ conflicts between ‘pump_servers,omitempty:172.16.8.38.port’ and ‘pump_servers,omitempty:172.16.8.38.port’ Verbose debug logs has been written to /home/tidb/tiup-cluster-debug-2020-04-15-14-05-49.log. Error: start /home/tidb/.tiup/components/cluster/v0.4.6/cluster (wd:/home/tidb/.tiup/data/RwClhS4) failed: exit status 1

scale-out.yaml

server_configs: tidb: binlog.enable: true binlog.ignore-error: true pump_servers:

  • host: 172.16.8.38 ssh_port: 22 port: 8250 deploy_dir: /data/pump-8249 data_dir: /data/pump-8249/data config: gc: 3 drainer_servers:
  • host: 172.16.8.41 ssh_port: 22 port: 8249 deploy_dir: /data/drainer-8249 data_dir: /data/drainer-8249/data commit_ts: -1 config: syncer.db-type: file syncer.dir: data.drainer

详细说明

报错之后,display 看到的情况如下:

但是无法start,而且无法scale -in掉重新部署。

感谢你的反馈,我现在内部重现一下

你好,

scale-out.yaml文件中请添加,因为 tidb binlog 需要开启该参数才可正常运行

server_configs:
  tidb:
    binlog.enable: false

scale-out.yaml的缩进没搞好。现在已经部署好了。

:call_me_hand: