-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
br restore failed with error “type:UNKNOWN message:\"invalid store ID 0, not found\” when kill pd leader #51124
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
affects-8.1
component/br
This issue is related to BR of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
/assign BornChanger |
/assign @Leavrth |
jebter
added
severity/critical
component/br
This issue is related to BR of TiDB.
labels
Feb 20, 2024
ti-chi-bot
bot
added
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
labels
Feb 20, 2024
It's a common case at some special timing. please downgrade the severity to major. @jebter |
Leavrth
added
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
labels
Apr 23, 2024
ti-chi-bot
bot
removed
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
labels
Apr 23, 2024
This was referenced Apr 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
affects-8.1
component/br
This issue is related to BR of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
cluster deploy with 3 pd
1、br full restore
2、kill pdleader
2. What did you expect to see? (Required)
br restore can success
3. What did you see instead (Required)
br restore failed with error “type:UNKNOWN message:"invalid store ID 0, not found\” when kill pd leader
[collector.go:77] ["DataBase Restore failed summary"] [total-ranges=136] [ranges-succeed=135] [ranges-failed=1] [split-region=32.540336097s] [restore-ranges=1166] [unit-name=file] [error="type:UNKNOWN message:"invalid store ID 0, not found" ; type:UNKNOWN message:"invalid store ID 0, not found" ; type:UNKNOWN message:"invalid store ID 0, not found" ; type:UNKNOWN message:"invalid store ID 0, not found" "] [errorVerbose="the following errors occurred:\n - type:UNKNOWN message:"invalid store ID 0, not found" \n github.com/tikv/pd/client.(*client).respForErr\n \t/go/pkg/mod/github.com/tikv/pd/client@v0.0.0-20240126020320-567c7d43a008/client.go:1552\n github.com/tikv/pd/client.(*client).GetStore\n \t/go/pkg/mod/github.com/tikv/pd/client@v0.0.0-20240126020320-567c7d43a008/client.go:1122\n github.com/pingcap/tidb/br/pkg/restore/split.(*pdClient).GetStore\n \t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/br/br/pkg/restore/split/client.go:157\n github.com/pingcap/tidb/br/pkg/restore.(*importClient).GetImportClient\n \t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/br/br/pkg/restore/import.go:220\n github.com/pingcap/tidb/br/pkg/restore.(*importClient).MultiIngest\n \t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/br/br/pkg/restore/import.go:203\n github.com/pingcap/tidb/br/pkg/restore.(*FileImporter).ingestSSTs\n \t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/br/br/pkg/restore/import.go:1239\n github.com/pingcap/tidb/br/pkg/restore.(*FileImporter).ingest\n \t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/br/br/pkg/restore/import.go:1141\n github.com/pingcap/tidb/br/pkg/restore.(*FileImporter).ImportSSTFiles.func1\n \t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/br/br/pkg/restore/import.go:589\n github.com/pingcap/tidb/br/pkg/utils.WithRetry.func1
4. What is your TiDB version? (Required)
./tidb-server -V
Release Version: v8.0.0-alpha
Edition: Community
Git Commit Hash: 400bb2c
Git Branch: heads/refs/tags/v8.0.0-alpha
UTC Build Time: 2024-02-10 11:57:26
GoVersion: go1.21.6
Race Enabled: false
Check Table Before Drop: false
Store: unistore
2024-02-12T03:39:31.107+0800
The text was updated successfully, but these errors were encountered: