pingcap / tiflow

This repo maintains DM (a data migration platform) and TiCDC (change data capture for TiDB)
Apache License 2.0
424 stars 283 forks source link

当进行br恢复时必须要关闭当前实例上所有的cdc任务 #11131

Open lee1988well opened 4 months ago

lee1988well commented 4 months ago

What did you do?

What did you expect to see?

What did you see instead?

这个是什么原因呢,tab_e是新表,并没有cdc任务,为什么需要把所有的cdc任务全部删除,才可以执行恢复

Versions of the cluster

Dataflow Engine version (run tiflow version): v7.5.1

(paste Dataflow Engine version here)
fubinzh commented 4 months ago

@lee1988well 目前不支持在同步的过程中对 TiCDC 正在同步的表和库进行 BR 数据恢复,所以有这个检查。在 master 上,这个检查有些优化,只要 CDC 的 checkpoint 大于恢复数据的 backupTS 就允许 br 恢复。参考 https://github.com/pingcap/tidb/issues/53131

fubinzh commented 4 months ago

/remove-type bug

lee1988well commented 4 months ago

也就是说,当前的版本,这个bug没有修复吧