-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.component/brThis issue is related to BR of TiDB.This issue is related to BR of TiDB.contributionThis PR is from a community contributor.This PR is from a community contributor.type/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.type/regression
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
When I used this command to perform pitr restore on v8.5.5, an error occurred, but the same operation worked fine on 8.5.4.
9 restore.go:133] Running br command with args: [restore point --pd=<PD_HOST>:2379 --ca=/var/lib/cluster-client-tls/ca.crt --cert=/var/lib/cluster-client-tls/tls.crt --key=/var/lib/cluster-client-tls/tls.key --send-credentials-to-tikv=false --storage=s3://<S3_BUCKET_PATH>/log-<LOG_ID> --s3.region=<AWS_REGION> --s3.provider=aws --check-requirements=false --checksum=false --with-sys-table --filter=*.* --filter=!__TiDB_BR_Temporary_*.* --filter=!mysql.* --filter=mysql.user --filter=mysql.db --filter=mysql.tables_priv --filter=mysql.columns_priv --filter=mysql.global_priv --filter=mysql.global_grants --filter=mysql.default_roles --filter=mysql.role_edges --filter=!sys.* --filter=!INFORMATION_SCHEMA.* --filter=!PERFORMANCE_SCHEMA.* --filter=!METRICS_SCHEMA.* --filter=!INSPECTION_SCHEMA.* --filter=mysql.bind_info --restored-ts=<TIMESTAMP> --full-backup-storage=s3://<S3_BUCKET_PATH>/<BACKUP_ID>]
2. What did you expect to see? (Required)
PITR restore success
3. What did you see instead (Required)
PITR restore failed
Error: PiTR doesn't support custom filter to include system db, consider to exclude system db: [BR:Common:ErrInvalidArgument]invalid argument
2025-12-29 15:21:11
[2025/12/29 07:21:11.582 +00:00] [ERROR] [main.go:43] ["br failed"] [error="PiTR doesn't support custom filter to include system db, consider to exclude system db: [BR:Common:ErrInvalidArgument]invalid argument"] [errorVerbose="[BR:Common:ErrInvalidArgument]invalid argument\nPiTR doesn't support custom filter to include system db, consider to exclude system db\ngithub.com/pingcap/tidb/br/pkg/task.RunStreamRestore\n\t/workspace/source/tidb/br/pkg/task/stream.go:1399\ngithub.com/pingcap/tidb/br/pkg/task.RunRestore\n\t/workspace/source/tidb/br/pkg/task/restore.go:991\nmain.runRestoreCommand\n\t/workspace/source/tidb/br/cmd/br/restore.go:75\nmain.newStreamRestoreCommand.func1\n\t/workspace/source/tidb/br/cmd/br/restore.go:249\ngithub.com/spf13/cobra.(*Command).execute\n\t/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:985\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117\ngithub.com/spf13/cobra.(*Command).Execute\n\t/root/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041\nmain.main\n\t/workspace/source/tidb/br/cmd/br/main.go:42\nruntime.main\n\t/root/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:285\nruntime.goexit\n\t/root/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1693"] [stack="main.main\n\t/workspace/source/tidb/br/cmd/br/main.go:43\nruntime.main\n\t/root/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:285"]
4. What is your TiDB version? (Required)
2025-12-29 15:21:10
I1229 07:21:10.688140 9 restore.go:181] [2025/12/29 07:21:10.687 +00:00] [INFO] [info.go:53] ["Welcome to Backup & Restore (BR)"] [release-version=v8.5.5] [git-hash=05b4a34ba2a12b55f9a338a850c4944d78aedf7e] [git-branch=HEAD] [go-version=go1.25.5] [utc-build-time="2025-12-23 02:51:46"] [race-enabled=false]
Metadata
Metadata
Assignees
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.component/brThis issue is related to BR of TiDB.This issue is related to BR of TiDB.contributionThis PR is from a community contributor.This PR is from a community contributor.type/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.type/regression