[lightning] no retries when pd timeout #31318
Labels
component/br
This issue is related to BR of TiDB.
component/lightning
This issue is related to Lightning of TiDB.
found/automation
Found by automation tests
severity/moderate
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)
It is observed that there is no retry when pd timeout
2. What did you expect to see? (Required)
There should be retry mechanism when pd connection timeout during lightning import
3. What did you see instead (Required)
Lightning import fails immediately when PD server timeout
4. What is your TiDB version? (Required)
/ # /tidb-lightning -V
Release Version: v5.4.0
Git Commit Hash: 974b578
Git Branch: heads/refs/tags/v5.4.0
Go Version: go1.16.4
UTC Build Time: 2022-01-03 10:01:05
Race Enabled: false
The text was updated successfully, but these errors were encountered: