Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

DM support bidirection replication #658

Open
3 tasks
WangXiangUSTC opened this issue May 12, 2020 · 0 comments
Open
3 tasks

DM support bidirection replication #658

WangXiangUSTC opened this issue May 12, 2020 · 0 comments
Labels
TiDB-5.0 type/feature-request This issue is a feature request

Comments

@WangXiangUSTC
Copy link
Contributor

WangXiangUSTC commented May 12, 2020

Feature Request

Is your feature request related to a problem? Please describe:

Some users want to replication data between TiDB and MySQL, use TiDB Binlog to replication data to MySQL, and use DM to replication data to TiDB. And data will be cycled replication between MySQL and TiDB.

Describe the feature you'd like:

Update an internal mark table when executing SQLs, and the binlog will contain this mark table's data. When DM get the binlog with mark table, then skip it to avoid cycle replication.

Category

  • Feature

Value

Make users more willing to try TiDB

TODO list

  • Update mark table when executing DML
  • Filter binlog if contains dml in the mark table
  • Deal with the case that the table struct in upstream and downstream is different.

Documentations

N/A

Project

N/A

@WangXiangUSTC WangXiangUSTC added the type/feature-request This issue is a feature request label May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
TiDB-5.0 type/feature-request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants