pingcap / tiflow

This repo maintains DM (a data migration platform) and TiCDC (change data capture for TiDB)
Apache License 2.0
427 stars 284 forks source link

TiCDC handles DDLs one by one, which could be a bottleneck #11467

Open hicqu opened 2 months ago

hicqu commented 2 months ago

What did you do?

Deploy a TiCDC cluster, and run lots of TRUNCATE statements in the upstream TiDB.

What did you expect to see?

No response

What did you see instead?

TiCDC handles DDLs one by one. It slows down the replication.

Versions of the cluster

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

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

(paste TiCDC version here)
seiya-annie commented 2 months ago

/report customer