The BR cdc incremental recovery operation will not be recorded in cdclog.
Please answer these questions before submitting your issue. Thanks!
-
What did you do? If possible, provide a recipe for reproducing the error. Turn on cdc synchronization, perform a full backup A, and then insert some data into the instance. Then perform BR incremental recovery twice in succession, then the second BR incremental recovery will have the problem of inconsistency with the data required by the user. Because BR incremental recovery operations will not be recorded in the cdclog.
-
What did you expect to see? After cdc synchronization is enabled, when BR incremental recovery is performed, the operation of BR incremental recovery can be recorded in cdclog.
-
What did you see instead?
-
What version of BR and TiDB/TiKV/PD are you using?
-
Operation logs
- Please upload
br.logfor BR if possible - Please upload
tidb-lightning.logfor TiDB-Lightning if possible - Please upload
tikv-importer.logfrom TiKV-Importer if possible - Other interesting logs
- Please upload
-
Configuration of the cluster and the task
-
tidb-lightning.tomlfor TiDB-Lightning if possible -
tikv-importer.tomlfor TiKV-Importer if possible -
topology.ymlif deployed by TiUP
-
-
Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus if possible
Do you have two tidb clusters A and B, have you performed the following sequence of operations?
- Start TiCDC of cluster A to copy data to cluster B
- A cluster performs full backup
- Insert some data in cluster A
- Restore the full backup data of step 2 in cluster B
- Perform incremental data recovery in cluster B (when was this incremental recovery data backed up from cluster A)
According to What should I do when BR restores data to the upstream cluster of TiCDC/Drainer?, operations like is not supported yet.