pingcap / pingcap/tidb

some information schema can not available if one broken pd in the cluster.

Open
#32,995 1 comment 0 reactions 1 assignee Claimed by @bufferflies View on GitHub
severity/moderate sig/sql-infra type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)
1. rm the data directory of the first node in member list

some related code:
https://github.com/pingcap/tidb/blob/62b2e5cdd6b6a7d3110b529854d7de765a724455/infoschema/tables.go#L1646-L1651

### 2. What did you expect to see? (Required)
information schema should work well
### 3. What did you see instead (Required)
mysql> select * from cluster_info;
ERROR 1105 (HY000): Get http://tc-pd-2.tc-pd-peer.testbed-oltp-hm-gtqc4.svc:2379/pd/api/v1/config/cluster-version: dial tcp 10.244.8.209:2379: connect: connection refused
### 4. What is your TiDB version? (Required)
v5.0.1

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.