Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Region Health panel missing data if PD suffers from leader transfer #6366

Closed
iosmanthus opened this issue Apr 23, 2023 · 1 comment · Fixed by #6367
Closed

Region Health panel missing data if PD suffers from leader transfer #6366

iosmanthus opened this issue Apr 23, 2023 · 1 comment · Fixed by #6367
Assignees
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. severity/major type/bug The issue is confirmed as a bug.

Comments

@iosmanthus
Copy link
Member

Bug Report

What did you do?

# create a 3-PD cluster
> curl -s http://<leader>/metrics | grep empty-region-count
pd_regions_status{type="empty-region-count"} 14
> pd-ctl member leader transfer <another-leader>
> pd-ctl member leader transfer <leader>
> curl -s http://<leader>/metrics | grep empty-region-count

The last command outputs nothing, meaning the metrics are missing.

What did you expect to see?

pd_regions_status{type="empty-region-count"} 14

What did you see instead?

nothing

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

master

@iosmanthus iosmanthus added the type/bug The issue is confirmed as a bug. label Apr 23, 2023
@rleungx
Copy link
Member

rleungx commented Apr 23, 2023

introduced by #5802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 This bug affects the 7.1.x(LTS) versions. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants