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

prevent concurrent storeBlock calls (fixes #5285) #5295

Merged
merged 4 commits into from
Aug 17, 2023
Merged

Conversation

arnetheduck
Copy link
Member

@arnetheduck arnetheduck commented Aug 15, 2023

When a block is introduced to the system both via REST and gossip at the same time, we will call storeBlock from two locations leading to a duplicate check race condition as we wait for the EL.

This issue may manifest in particular when using an external block builder that itself publishes the block onto the gossip network.

When a block is introduced to the system both via REST and gossip at the
same time, we will call `storeBlock` from two locations leading to a
dupliace check race condition as we wait for the EL.

This issue may manifest in particular when using an external block
builder that itself publishes the block onto the gossip network.
@github-actions
Copy link

github-actions bot commented Aug 16, 2023

Unit Test Results

         9 files  ±0    1 077 suites  ±0   39m 21s ⏱️ +20s
  3 725 tests ±0    3 446 ✔️ ±0  279 💤 ±0  0 ±0 
15 880 runs  ±0  15 575 ✔️ ±0  305 💤 ±0  0 ±0 

Results for commit 6649c1b. ± Comparison against base commit a150bc9.

♻️ This comment has been updated with latest results.

* simplify calling `addBlock`
* complete request manager verifier future for blobless blocks
among other things, it might have gone stale or finalized between one
call and the other
@arnetheduck arnetheduck merged commit 49729e1 into unstable Aug 17, 2023
12 checks passed
@arnetheduck arnetheduck deleted the dupe-store branch August 17, 2023 13:12
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.

None yet

2 participants