pingcap/tiflow

Support global index in TiCDC

开放

#943 创建于 2020年9月9日

 (3 条评论) (0 个反应) (0 位负责人)Go (310 个派生)auto 404
help wanted

仓库指标

星标
 (461 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Feature Request

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

TiDB implements global index for partition in 5.0, ref: proposal, TiCDC is not compatible with global index now

In older partition table implementations, row data and indexes are independent of each other between different partitions of the same table. So, different partitions of the same table can be distributed to different nodes in the TiCDC, and write downstream concurrently, without concurrent conflict detection.

After the global index is implemented, the indexes of different partitions are no longer completely independent, and a modification in one partition may affect row data in another partition under more than one uniqueness constraints. Therefore TiCDC cannot simply concurrently write to different partitions of the same table. Different partitions of the same table can not be distributed to different nodes anymore.

Describe the feature you'd like:

Support global index in TiCDC

Time

GanttStart: 2020-09-15 GanttDue: 2020-10-30 GanttProgress: 0%

Workload estimation(person-day)

  • Develop & QA: 10
  • Document: 1

贡献者指南