Skip to content
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 or backup failed with error “Error: [pd] failed to get cluster id” #51296

Closed
Lily2025 opened this issue Feb 26, 2024 · 1 comment · Fixed by #51297
Closed

br restore or backup failed with error “Error: [pd] failed to get cluster id” #51296

Lily2025 opened this issue Feb 26, 2024 · 1 comment · Fixed by #51297
Assignees
Labels
component/lightning This issue is related to Lightning of TiDB. severity/critical type/bug The issue is confirmed as a bug.

Comments

@Lily2025
Copy link

Lily2025 commented Feb 26, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

1、br restore data

2. What did you expect to see? (Required)

br restore data can success

3. What did you see instead (Required)

br restore or backup failed with error “Error: [pd] failed to get cluster id”

[2024/02/25 18:12:53.366 +00:00] [WARN] [pd_service_discovery.go:861] ["[pd] failed to get cluster id"] [url="http://[tc-pd.endless-ha-test-add-index-tps-6870655-1-673:2379]"] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp: address [tc-pd.endless-ha-test-add-index-tps-6870655-1-673:2379]: missing port in address" target:[tc-pd.endless-ha-test-add-index-tps-6870655-1-673:2379] status:TRANSIENT_FAILURE: error:rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp: address [tc-pd.endless-ha-test-add-index-tps-6870655-1-673:2379]: missing port in address" target:[tc-pd.endless-ha-test-add-index-tps-6870655-1-673:2379] status:TRANSIENT_FAILURE"]

[2024/02/25 18:14:33.367 +00:00] [INFO] [collector.go:77] ["DataBase Restore failed summary"] [total-ranges=0] [ranges-succeed=0] [ranges-failed=0]
Error: [pd] failed to get cluster id

4. What is your TiDB version? (Required)

./br -V
Release Version: v8.0.0-alpha
Git Commit Hash: 2c46b8e
Git Branch: heads/refs/tags/v8.0.0-alpha
Go Version: go1.21.6
UTC Build Time: 2024-02-23 11:41:05

./tidb-server -V
Release Version: v8.0.0-alpha
Edition: Community
Git Commit Hash: 2c46b8e
Git Branch: heads/refs/tags/v8.0.0-alpha
UTC Build Time: 2024-02-23 11:46:36
GoVersion: go1.21.6
Race Enabled: false
Check Table Before Drop: false
Store: unistore

@Lily2025 Lily2025 added the type/bug The issue is confirmed as a bug. label Feb 26, 2024
@Lily2025
Copy link
Author

/type bug
/severity critical
/assign lance6716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/lightning This issue is related to Lightning of TiDB. severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants