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

offline_stats can not be updated after merge offline peer #3611

Closed
lhy1024 opened this issue Apr 19, 2021 · 1 comment · Fixed by #3614
Closed

offline_stats can not be updated after merge offline peer #3611

lhy1024 opened this issue Apr 19, 2021 · 1 comment · Fixed by #3614
Assignees
Labels
severity/major type/bug The issue is confirmed as a bug.

Comments

@lhy1024
Copy link
Contributor

lhy1024 commented Apr 19, 2021

Bug Report

What did you do?

offline some store

What did you expect to see?

the num of offline peer is zero after offline store is finished

What did you see instead?

there are still some offline peer after offline store is finished
image

use pdctl to query these regions and the result is null

And we also found their last operation is merge region

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

5.0.0

@lhy1024 lhy1024 added the type/bug The issue is confirmed as a bug. label Apr 19, 2021
@lhy1024
Copy link
Contributor Author

lhy1024 commented Apr 19, 2021

I think it may be better to update offline stats when updating region cache because of merging region

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants