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

Unlock pending block queue if insertion errors #11600

Merged
merged 5 commits into from
Nov 2, 2022

Conversation

terencechain
Copy link
Member

While working on 4844, I noticed when insertBlockToPendingQueue errors out, pendingQueueLock lock still holds. We should be releasing the lock

@terencechain terencechain added the Ready For Review A pull request ready for code review label Nov 2, 2022
@terencechain terencechain self-assigned this Nov 2, 2022
@terencechain terencechain requested a review from a team as a code owner November 2, 2022 01:30
Copy link
Contributor

@saolyn saolyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to request change

Copy link
Contributor

@saolyn saolyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@prylabs-bulldozer prylabs-bulldozer bot merged commit e4b2b1e into develop Nov 2, 2022
@delete-merged-branch delete-merged-branch bot deleted the pending-queue-unlock branch November 2, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants