Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lee1988well opened this issue May 17, 2024 · 3 comments
Open
Labels
area/engine Issues or PRs related to Dataflow Engine.

Comments

@lee1988well
Copy link

What did you do?

  • TiDB上有4个cdc任务,分别配置的表是tab_a,tab_b,tab_c,tab_d。
  • 现在执行br,恢复表tab_e

What did you expect to see?

  • 可以直接恢复成功

What did you see instead?

  • 关闭pitr日志备份
  • 删除所有的cdc任务

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

Versions of the cluster

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

(paste Dataflow Engine version here)
@lee1988well lee1988well added area/engine Issues or PRs related to Dataflow Engine. type/bug This is a bug. labels May 17, 2024
@github-actions github-actions bot added this to Need Triage in Question and Bug Reports May 17, 2024
@fubinzh
Copy link

fubinzh commented May 28, 2024

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

@fubinzh
Copy link

fubinzh commented May 28, 2024

/remove-type bug

@ti-chi-bot ti-chi-bot bot removed the type/bug This is a bug. label May 28, 2024
@lee1988well
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issues or PRs related to Dataflow Engine.
Projects
Development

No branches or pull requests

2 participants