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

The RLock will not be released if regionStats equals to nil #4354

Closed
rleungx opened this issue Nov 22, 2021 · 0 comments · Fixed by #4355
Closed

The RLock will not be released if regionStats equals to nil #4354

rleungx opened this issue Nov 22, 2021 · 0 comments · Fixed by #4355
Assignees
Labels
type/bug The issue is confirmed as a bug.

Comments

@rleungx
Copy link
Member

rleungx commented Nov 22, 2021

Bug Report

Screen Shot 2021-11-22 at 3 09 02 PM

The RLock is not released if it returns early.

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

master

@rleungx rleungx added the type/bug The issue is confirmed as a bug. label Nov 22, 2021
@rleungx rleungx self-assigned this Nov 22, 2021
rleungx added a commit to rleungx/pd that referenced this issue Nov 22, 2021
close tikv#4354

Signed-off-by: Ryan Leung <rleungx@gmail.com>
rleungx added a commit to rleungx/pd that referenced this issue Nov 22, 2021
close tikv#4354

Signed-off-by: Ryan Leung <rleungx@gmail.com>
nolouch pushed a commit that referenced this issue Nov 22, 2021
close #4354

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue Nov 22, 2021
close tikv#4354

Signed-off-by: Ryan Leung <rleungx@gmail.com>
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue Nov 22, 2021
close tikv#4354

Signed-off-by: Ryan Leung <rleungx@gmail.com>
ti-chi-bot added a commit that referenced this issue Nov 30, 2021
close #4354

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: Ryan Leung <rleungx@gmail.com>
ti-chi-bot added a commit that referenced this issue Nov 30, 2021
close #4354

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: Ryan Leung <rleungx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant