drainer_servers:
- host: 2.2.2.2
ssh_port: 22
port: 8249
deploy_dir: /data/tidb-deploy/drainer-8249
data_dir: /data/tidb-data/drainer-8249
log_dir: /data/tidb-deploy/drainer-8249/log
commit_ts: -1
config:
syncer.db-type: mysql
syncer.to.host: 1.1.1.1
syncer.to.password: XXXXXX
syncer.to.port: 4000
syncer.to.user: root
arch: amd64
os: linux
现在tiup cluster edit-config xxxx 配置是这样的,是否要加入 syncer.to.checkpoint
drainer_servers:
- host: 2.2.2.2
ssh_port: 22
port: 8249
deploy_dir: /data/tidb-deploy/drainer-8249
data_dir: /data/tidb-data/drainer-8249
log_dir: /data/tidb-deploy/drainer-8249/log
commit_ts: -1
config:
syncer.db-type: mysql
syncer.to.host: 1.1.1.1
syncer.to.password: XXXXXX
syncer.to.port: 4000
syncer.to.user: root
arch: amd64
os: linux
syncer.to.checkpoint:
type: mysql
schema: tidb_binlog