tikv / tikv/pd

tidb lightning encountered error: [Lightning:Restore:ErrRestoreTable]restore table `location`.`GooglePoiSource` failed: rpc error: code = Unavailable when injection pd leader fault

Open
#8,431 2 comments 0 reactions 1 assignee Claimed by @JmPotato View on GitHub
affects-8.5 may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 may-affects-8.1 severity/major type/bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.