tikv / tikv/pd

The statistics of miss-peer is not accurate sometimes

Open
#3,199 1 comment 0 reactions 1 assignee Claimed by @lhy1024 View on GitHub
severity/moderate 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?

Use pd-ctl to set the max-replicas to 2 with a cluster having 15w regions. And after all extra peers are removed, change back the max-replicas to 3.

Screen Shot 2020-11-23 at 10 44 24 AM

As you can see from the above screenshot, after changing back the parameters, there should be a lot of missing peers. But actually, there are a few missing peers.

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

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.