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.
connect to v4.0.11 tidb via mysql client
a. create table test.t(id int);
b. insert into test.t values (1);
c. insert into test.t values (3);
d. backup database test to 'local:///tmp/bktest01';
tiup playground nightly --tiflash 0
connect to nightly tidb via mysql client
a. restore database * from 'local:///tmp/bktest01';
What did you expect to see?
restore successd.
What did you see instead?
[restore.go:34] ["failed to restore"] [error="failed to validate checksum: [BR:Restore:ErrRestoreChecksumMismatch]restore checksum mismatch"] [errorVerbose="[BR:Restore:ErrRestoreChecksumMismatch]restore checksum mismatch\nfailed to validate checksum\ngithub.com/pingcap/br/pkg/restore.(*Client).execChecksum\n\tgithub.com/pingcap/br@/pkg/restore/client.go:817\ngithub.com/pingcap/br/pkg/restore.(*Client).GoValidateChecksum.func1.2\n\tgithub.com/pingcap/br@/pkg/restore/client.go:757\ngithub.com/pingcap/br/pkg/utils.(*WorkerPool).ApplyOnErrorGroup.func1\n\tgithub.com/pingcap/br@/pkg/utils/worker.go:63\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.0.0-20201020160332-67f06af15bc9/errgroup/errgroup.go:57\nruntime.goexit\n\truntime/asm_amd64.s:1357"] [stack="main.runRestoreCommand\n\tgithub.com/pingcap/br@/cmd/br/restore.go:34\nmain.newDBRestoreCommand.func1\n\tgithub.com/pingcap/br@/cmd/br/restore.go:131\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:842\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.0.0/command.go:950\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.0.0/command.go:887\nmain.main\n\tgithub.com/pingcap/br@/cmd/br/main.go:56\nruntime.main\n\truntime/proc.go:203"]
What version of BR and TiDB/TiKV/PD are you using?
Operation logs
Please upload br.log for BR if possible
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.
Try to use BR (nightly) to restore (v4.0.11) backups. First found in Compatibility test: create github actions for test #708.
simplify to reproduce.
tiup playground v4.0.11 --tiflash 0connect to v4.0.11 tidb via mysql client
a.
create table test.t(id int);b.
insert into test.t values (1);c.
insert into test.t values (3);d.
backup database test to 'local:///tmp/bktest01';tiup playground nightly --tiflash 0connect to nightly tidb via mysql client
a.
restore database * from 'local:///tmp/bktest01';What did you expect to see?
restore successd.
Operation logs
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