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

op-batcher: fix a deadlock #13014

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

zhiqiangxu
Copy link
Contributor

When calling StopBatchSubmitting in throttlingLoop here, it will wait on the WaitGroup here.

But the problem is that throttlingLoop is also in this WaitGroup(source), thus it'll deadlock.

@zhiqiangxu zhiqiangxu requested review from a team as code owners November 21, 2024 15:31
@sebastianst
Copy link
Member

/ci authorize 4003f67

@sebastianst sebastianst added this pull request to the merge queue Nov 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 22, 2024
@sebastianst sebastianst added this pull request to the merge queue Nov 22, 2024
Merged via the queue into ethereum-optimism:develop with commit 5aa14b3 Nov 22, 2024
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants