tidb lightning encountered error: [Lightning:Restore:ErrRestoreTable]restore table `location`.`GooglePoiSource` failed: rpc error: code = Unavailable when injection pd leader fault
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
## Bug Report
### What did you do?
1、lightning import
2、kill pd leader
### What did you expect to see?
lightning can success
### What did you see instead?
tidb lightning encountered error: [Lightning:Restore:ErrRestoreTable]restore table `location`.`GooglePoiSource` failed: rpc error: code = Unavailable desc = error reading from server: read tcp [xx.xx.xx.xx:55542](http://xx.xx.xx.xx:55542/)->[10.233.109.63:2379](http://10.233.109.63:2379/): read: connection reset by peer
### What version of PD are you using (`pd-server -V`)?
./pd-server -V
Release Version: v8.2.0-alpha
Edition: Community
Git Commit Hash: 8de04120c14225506ebf150ed921f64fa6eb96c4
Git Branch: heads/refs/tags/v8.2.0-alpha
UTC Build Time: 2024-07-19 11:36:35
Contributor guide
Assessment
This issue has not been assessed yet.