pingcap / tiflow

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

CDC cloud: workload "go-ycsb run" sync latency is too large(upstream write data 10m, sync task need 2hours to complete) #2229

Closed Tammyxia closed 2 years ago

Tammyxia commented 3 years ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.
  1. What did you expect to see?
  1. What did you see instead?
  1. Versions of the cluster

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

      5.0.2
    • TiCDC version (execute cdc version):

      ["Welcome to Change Data Capture (CDC)"] [release-version=v5.0.0-dev] [git-hash=9300b05ceec2c4811198416a5d21e9f4910deddd] [git-branch=cloud-cdc-5.0] [utc-build-time="2021-06-26 14:16:57"] [go-version="go version go1.16.3 linux/amd64"] [failpoint-build=false]
amyangfei commented 3 years ago

From downstream TiDB monitor we can observe the transaction duration is high.

image

overvenus commented 2 years ago

The root cause is TiCDC and downstream were deployed in different regions, the latency is high.