tiflow icon indicating copy to clipboard operation
tiflow copied to clipboard

There is no way to set target tidb status port for dm task

Open aytrack opened this issue 1 year ago • 2 comments

What did you do?

from asktug: https://asktug.com/t/topic/1027282

deploy a downstream tidb cluster with status port is 20081 and create a task to sync data. set dm target-database status port https://github.com/pingcap/tiflow/blob/38878616baa75c939c67c325a5cef6bcac91e70f/dm/config/dbconfig/config.go#L75-L89

What did you expect to see?

can set the status port via config file

What did you see instead?

can not set teh status port

Versions of the cluster

DM version (run dmctl -V or dm-worker -V or dm-master -V):

(paste DM version here, and you must ensure versions of dmctl, DM-worker and DM-master are same)
8.1.0

Upstream MySQL/MariaDB server version:

(paste upstream MySQL/MariaDB server version here)

Downstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

How did you deploy DM: tiup or manually?

(leave TiUP or manually here)

Other interesting information (system version, hardware config, etc):

>
>

current status of DM cluster (execute query-status <task-name> in dmctl)

(paste current status of DM cluster here)

aytrack avatar Jun 11 '24 10:06 aytrack

/severity moderate

fubinzh avatar Jun 12 '24 03:06 fubinzh

/found community

aytrack avatar Jun 20 '24 06:06 aytrack

requires add a new param

D3Hunter avatar Jul 30 '24 08:07 D3Hunter