pingcap / tiflow

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

CDC cloud: row lost when scale-out and scale-in #2244

Closed Tammyxia closed 3 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.

[[check-tables]] schema = "testcc0" tables = ["~^"]

[[source-db]] host = "xxx" port = 4000 user = "root" password = "xxx" instance-id = "source-1"

[target-db] host = "xxx" port = 4000 user = "root" password = "xxx"

  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

Verify this issue after #2230 is fixed, since