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
During the BR initialization, switch PD leader to a different pod or offline PD leader
BR job will raise following error: error=\"pd address not available, ..., dial tcp: lookup <pd addr>: no such host, please check network
This is most likely due to when executing BR using operator, only the PD leader address is used to discover PD cluster memberlist. The TiUP BR allows to add multiple PD addresses in the command line to prevent one PD failure during the discovery, maybe operator should also consider this. Code ref: https://github.com/pingcap/tidb-operator/blob/master/cmd/backup-manager/app/backup/backup.go#L237
What did you expect to see?
BR is able to run when PD leader is offline during discovery
What did you see instead?
BR failed and raised an error
The text was updated successfully, but these errors were encountered:
fmt.Sprintf("--pd=%s-pd.%s:%d", backup.Spec.BR.Cluster, clusterNamespace, v1alpha1.DefaultPDClientPort) is a K8s service with all PD members as the backend.
it should resolve to other PD members in different DNS lookup calls.
Bug Report
What version of Kubernetes are you using?
What version of TiDB Operator are you using?
What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?
What's the status of the TiDB cluster pods?
What did you do?
error=\"pd address not available, ..., dial tcp: lookup <pd addr>: no such host, please check network
What did you expect to see?
BR is able to run when PD leader is offline during discovery
What did you see instead?
BR failed and raised an error
The text was updated successfully, but these errors were encountered: