-
Notifications
You must be signed in to change notification settings - Fork 742
Closed
Labels
affects-7.0severity/criticaltype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
What did you do?
Create PD client for PD v6.5/v6.6 using the following function.
Line 305 in c4a8b80
func NewClientWithContext(ctx context.Context, svrAddrs []string, security SecurityOption, opts ...ClientOption) (Client, error) { |
What did you expect to see?
Everything is ok.
What did you see instead?
An error encountered:
[pd] failed to get cluster id
Root cause:
pd/client/pd_service_discovery.go
Line 379 in c4a8b80
return errors.WithStack(errFailInitClusterID) |
What version of PD are you using (pd-server -V
)?
pd-server: v6.6.0
Test codes is based TiDB repo:
github.com/tikv/pd/client v0.0.0-20230329032054-05f86a47e154
https://github.com/pingcap/tidb/blob/4d50a1d9293e934244d46eeb621290565f29391e/go.mod#L97
Metadata
Metadata
Assignees
Labels
affects-7.0severity/criticaltype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.