tikv / tikv/pd

Add API to check the unhealth Region, including check the region hole

Open
#4,187 2 comments 2 reactions 1 assignee Claimed by @JmPotato View on GitHub
type/feature-request
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Feature Request
In the recovery scenario, we want to get some information to help dianogse:
- [x] Are there exist region holes in the PD region cache, which means the region is missing or not leader https://github.com/tikv/pd/pull/4202
- [ ] Are there exist regions that no leader
- [ ] Are there exist regions that major peers are located in unhealth stores.

We can use some shell command and jq to achieve the goal, but it is not convenient. we can add some API and pd control commands to help find that information.

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.