pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.34k stars 5.85k forks source link

br: add table filter for Pitr restore #57613

Open Tristan1900 opened 10 hours ago

Tristan1900 commented 10 hours ago

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 but not backup

Need to consider table rename corner cases

  1. table renamed into the filter during log replay
  2. table renamed out of filter range during log replay