Feature Request
Right now only snapshot backup/restore supports filter, users are asking for PiTR to support it. We only need to add filter for log restore and not log backup.
Need to consider table rename corner cases
- table renamed into the filter during log replay should be kept after restore
- table renamed out of filter range during log replay should be dropped after restore
- Should naturally works with insertGCRow, repairIndex and TiFlash
- Partitions exchanged across the filter boundary should not be supported and will error out
This issue now becomes a covering issue for multiple other functionalities including:
- Online filtered restore: need to refresh schema change by tables and not full load otherwise can freeze DDL op for the entire cluster.
- Parallel restore: to allow multiple restore tasks with disjoint filters to proceed at the same time
- Log backup compatibility: allow log backup turned on while doing PiTR
- Better scheduler control: only set on tables that are going to restore instead of all.
Tasks:
Bugfixes
Feature Request
Right now only snapshot backup/restore supports filter, users are asking for PiTR to support it. We only need to add filter for log restore and not log backup.
Need to consider table rename corner cases
This issue now becomes a covering issue for multiple other functionalities including:
Tasks:
Bugfixes
gc.ratio-thresholdto-1when performing pitr restore tidb-operator#6267