-
Notifications
You must be signed in to change notification settings - Fork 718
-
Notifications
You must be signed in to change notification settings - Fork 718
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
Hot region scheduler panic #5005
Labels
affects-5.2
affects-5.3
affects-5.4
affects-6.0
severity/major
type/bug
The issue is confirmed as a bug.
Comments
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
May 26, 2022
close tikv#5005 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
May 26, 2022
close tikv#5005 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
added a commit
that referenced
this issue
May 30, 2022
ti-chi-bot
added a commit
that referenced
this issue
Jun 13, 2022
rleungx
removed
the
cherry-pick-approved
Cherry pick PR approved by release team.
label
Jun 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.2
affects-5.3
affects-5.4
affects-6.0
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
What did you do?
Transfer PD leader.
What did you expect to see?
The PD is working as usual.
What did you see instead?
The code is firstly introduced by #3657. After v5.2.0, the store can report the region statistics for the hot region schedule. Once a PD restarts and becomes the leader immediately, the region could be elected as a hot region due to the store statistics. But at that time, the region's heartbeat has not been reported yet, so the leader of that hot region will be nil which causes panic in the hot region scheduler.
What version of PD are you using (
pd-server -V
)?v5.4.1
The text was updated successfully, but these errors were encountered: