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

Fix Deadlock in StreamChainHead #12250

Merged
merged 3 commits into from
Apr 7, 2023
Merged

Fix Deadlock in StreamChainHead #12250

merged 3 commits into from
Apr 7, 2023

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Apr 7, 2023

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

Fixes a deadlock in StreamChainHead which happens when we are syncing due to how forkchoice locks were refactored.
We ignore blocks being streamed in when syncing so as to not acquire the forkchoice read locks.

Which issues(s) does this PR fix?

N.A

Other notes for review

@nisdas nisdas added the Bug Something isn't working label Apr 7, 2023
@nisdas nisdas requested a review from a team as a code owner April 7, 2023 08:59
@nisdas nisdas requested review from kasey, saolyn and james-prysm April 7, 2023 08:59
@prestonvanloon prestonvanloon merged commit 3718216 into develop Apr 7, 2023
@delete-merged-branch delete-merged-branch bot deleted the fixDeadlock branch April 7, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants