Skip to content

Conversation

@mattsse
Copy link
Collaborator

@mattsse mattsse commented Dec 7, 2025

closes #20145

see docs re race condition for the case when two tasks (e.g. prewarming) compete for the same account.

I think we can ignore this case, if this is a hot contract and multiple different prewarming looking up different slots at the same time, then we can assume that this only happens when the cache was invalidated/empty.

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Dec 7, 2025
@mattsse mattsse requested a review from shekhirin December 7, 2025 12:03
@mattsse mattsse added the C-perf A change motivated by improving speed, memory usage or disk footprint label Dec 7, 2025
@github-actions github-actions bot added the C-enhancement New feature or request label Dec 7, 2025
@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Dec 8, 2025
@mattsse mattsse added this pull request to the merge queue Dec 8, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Dec 8, 2025
@mattsse mattsse added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit 3d330ca Dec 8, 2025
44 checks passed
@mattsse mattsse deleted the matt/avoid-duplicate-lookup branch December 8, 2025 16:24
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement New feature or request C-perf A change motivated by improving speed, memory usage or disk footprint

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

avoid double account cache lookup

4 participants