tikv / tikv/pd

after hot replace tls ca and cert ,pd/tikv error

Open
#6,217 2 comments 0 reactions 0 assignees View on GitHub
type/question
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Bug Report

### What did you do?
1. deploy tiup cluster with tls
2. generate self issued ca and use ca issue tidb/tikv/pd cert
3. hot replace ca and cert

### What did you expect to see?
1. pd/tikv work well
### What did you see instead?
1. pd down tikv n/a
![image](https://user-images.githubusercontent.com/50363732/227146435-5c96752a-10db-438d-a4cd-666d2a0a51dc.png)

2. pd error log
![image](https://user-images.githubusercontent.com/50363732/227144385-8acc5dba-fcfc-4fae-9f64-e2c546adddff.png)
3. tikv error log
![image](https://user-images.githubusercontent.com/50363732/227144265-04ea02df-50ad-4295-b562-d77be5d38aaa.png)
4. if stop cluster and replace ca and cert, all ok
![image](https://user-images.githubusercontent.com/50363732/227146389-304bd3b6-486a-436e-acd0-a95751320747.png)

### What version of PD are you using (`pd-server -V`)?

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.