TiDB Cluster supports snapshot level consistency replication in time #658
Labels
difficulty/hard
Hard task.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
priority/P0
The issue has P0 priority.
Milestone
Feature Request
Is your feature request related to a problem? Please describe:
In TiCDC we provide multiple level consistency replication, including row-level ordered, table level ordered, and eventual transaction consistency. Users also pay attention to the transaction guarantee, for example
In the current implementation of MySQL sink, multiple table transaction can't be replicated atomically, but table-level transaction atomic is supported.
What's more, in many scenarios users want to ensure the downstream is replicated to a globally consistent state, as TiCDC supports eventual transaction consistency, and TiDB supports snapshot read, we could combine these two features and provide a snapshot level consistency replication strategy.
TODO list
Dynamic
means during the replication of TiCDC, we can acquire globally consistent state continuously)Note this strategy only supports replicating from TiDB to TiDB.
Describe alternatives you've considered:
Currently the MySQL sink only replicates to an eventually consistent state if and only if we provide a
target-ts
in the changefeed, this is caused by the multiple captures and concurrent execution in MySQL sink.Teachability, Documentation, Adoption, Migration Strategy:
Value
Value description
This feature enables TiCDC to replicate to TiDB/MySQL with eventual transaction consistency
Value score
Workload estimation
Time
GanttStart: 2020-09-01
GanttDue: 2020-10-31
The text was updated successfully, but these errors were encountered: