pingcap/tiflow

Filter out the range of index before the index is visible

开放

#634 创建于 2020年6月9日

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

仓库指标

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

描述

Feature Request

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

The process of add index is firstly writing index for existed rows and then make the index visible. For now, we subscribe to all regions in the range of table. Thus all operations for writing index for existed rows will be sent to ticdc from tikv as key/value operations, which are duplicated with add index in downstream.

Describe the feature you'd like:

If we do not subscribe to the range of an invisible index, then unnecessary data flow during adding an index can be avoided.

贡献者指南