TiDB should retry on every PD client URL until success or failure #35268
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
severity/minor
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
1. Minimal reproduce step (Required)
pd.GetMemebers
and do not reboot it.show config
SQL on TiDB.2. What did you expect to see? (Required)
TiDB executes the SQL successfully.
3. What did you see instead (Required)
Root case
GetPDServerInfo
should retry on every PD client URL until success or failure. In this case, if the first member is the PD server that crashes, it will never work until the PD server reboots.tidb/infoschema/tables.go
Lines 1658 to 1669 in 7500d79
The text was updated successfully, but these errors were encountered: