You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
[root@node2 ~]# tiup br:v5.1.0-20210615 restore full -s "local:///tmp/br-backup-full-1100" -f "*.*" -u 127.0.0.1:42141
Starting component `br`: /root/.tiup/components/br/v5.1.0-20210615/br restore full -s local:///tmp/br-backup-full-1100 -f *.* -u 127.0.0.1:42141
Detail BR log in /tmp/br.log.2021-06-17T11.04.22+0800
Full restore <----------------------------------------------------------------------------------------------------------------/> 100.00%[2021/06/17 11:04:27.969 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring stats via `mysql` schema isn't support yet: the table ID is out-of-date and may corrupt existing statistics"] [table=stats_extended]
Full restore <-----------------------------------------------------------------------------------------------------------------> 100.00%[2021/06/17 11:04:29.010 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Common:ErrUnknown]failed to execute REPLACE INTO `mysql`.`user` SELECT * FROM `__tidb_br_temporary_mysql`.`user`;"] [table=user]
[2021/06/17 11:04:29.010 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring stats via `mysql` schema isn't support yet: the table ID is out-of-date and may corrupt existing statistics"] [table=stats_meta]
[2021/06/17 11:04:29.010 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring stats via `mysql` schema isn't support yet: the table ID is out-of-date and may corrupt existing statistics"] [table=stats_top_n]
[2021/06/17 11:04:29.017 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring unsupported `mysql` schema table"] [table=tidb]
[2021/06/17 11:04:29.035 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring stats via `mysql` schema isn't support yet: the table ID is out-of-date and may corrupt existing statistics"] [table=stats_histograms]
[2021/06/17 11:04:29.035 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring stats via `mysql` schema isn't support yet: the table ID is out-of-date and may corrupt existing statistics"] [table=stats_buckets]
[2021/06/17 11:04:29.037 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring stats via `mysql` schema isn't support yet: the table ID is out-of-date and may corrupt existing statistics"] [table=stats_feedback]
[2021/06/17 11:04:29.037 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring stats via `mysql` schema isn't support yet: the table ID is out-of-date and may corrupt existing statistics"] [table=stats_fm_sketch]
[2021/06/17 11:04:29.037 +08:00] [WARN] [systable_restore.go:77] ["error during merging temporary tables into system tables"] [error="[BR:Restore:ErrUnsupportedSysTable]restoring unsupported `mysql` schema table"] [table=GLOBAL_VARIABLES]
[2021/06/17 11:04:29.051 +08:00] [WARN] [systable_restore.go:87] ["error during reconfigurating the system tables"] [database=mysql] [error="restored user info may not take effect, until you should execute `FLUSH PRIVILEGES` manually: [BR:Restore:ErrUnsupportedSysTable]the system table isn't supported for restoring yet"]
Full restore <-----------------------------------------------------------------------------------------------------------------> 100.00%
[2021/06/17 11:04:29.588 +08:00] [INFO] [collector.go:66] ["Full restore success summary"] [total-ranges=26] [ranges-succeed=26] [ranges-failed=0] [restore-checksum=24.329872ms] [split-region=142.683892ms] [restore-ranges=23] [total-take=6.733655168s] ["restore data size(after decompressed)"=177.4kB] [total-kv=1475] [total-kv-size=86.5kB] [average-speed=1.005MB/s]
Please upload tidb-lightning.log for TiDB-Lightning if possible
Please upload tikv-importer.log from TiKV-Importer if possible
Other interesting logs
Configuration of the cluster and the task
tidb-lightning.toml for TiDB-Lightning if possible
tikv-importer.toml for TiKV-Importer if possible
topology.yml if deployed by TiUP
Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus if possible
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
br restore full -f "*.*"to 5.0.2 tidb clusterWhat did you expect to see?
User u1 will be restored to 5.0.2 tidb cluster
What did you see instead?
No user u1
What version of BR and TiDB/TiKV/PD are you using?
br.logfor BR if possibletidb-lightning.logfor TiDB-Lightning if possibletikv-importer.logfrom TiKV-Importer if possibleConfiguration of the cluster and the task
tidb-lightning.tomlfor TiDB-Lightning if possibletikv-importer.tomlfor TiKV-Importer if possibletopology.ymlif deployed by TiUPScreenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus if possible