-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
component/brThis issue is related to BR of TiDB.This issue is related to BR of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Modification List
InfoSchema V2 feature issue: #50959
- Deprecate
(*Meta).ListTables
. It is called frombr/pkg/stream/stream_mgr.go:buildObserveTableRanges
to build log task ranges. - Don't upload entire table infos when start a log backup task. Done by br: error if the log restore has no full backup schema or id maps #54421
- PITR restore and full restore checks whether there are user tables by calling
GetExistedUserDBs
. Switch to use a more efficient function. - Use
(infoschema.InfoSchema).SchemaTables
to get system tables instead ofDBInfo.Tables
. It's OK because the number of system tables is very small. - Maybe the cost of scanning the entire tables is very high, so
IngestRecorder
currently only search tables by table id of the recorded ingest index.
Metadata
Metadata
Assignees
Labels
component/brThis issue is related to BR of TiDB.This issue is related to BR of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.