pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/

Home Page:https://pingcap.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make restore tolerates "safe" changefeeds exist

YuJuncen opened this issue · comments

Enhancement

In the current version, we will reject to restore once there is any changefeed.
This is too strict and not pretty friendly to the end user.

In fact, BR can safely import data if the changefeed has a checkpoint ts greater than the backup archive -- CDC won't try to emit data loaded by BR in any case.