pingcap/tiflow

Filter out the range of index before the index is visible

オープン

#634 opened on 2020/06/09

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)Go (310 件のフォーク)auto 404
help wanted

Repository metrics

Stars
 (461 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド