Skip to content

execution/stagedsync: reclaim superseded fee-merge write sets off the apply loop - #23106

Open
AskAlexSharov wants to merge 1 commit into
mainfrom
alex/rm_release_maps_from_hotpath_37
Open

execution/stagedsync: reclaim superseded fee-merge write sets off the apply loop#23106
AskAlexSharov wants to merge 1 commit into
mainfrom
alex/rm_release_maps_from_hotpath_37

Conversation

@AskAlexSharov

@AskAlexSharov AskAlexSharov commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

pick #23099, on main.

… apply loop

ReleaseMaps clears every map before pooling it, which is O(entries), and a
superseded fee-merge set holds the transaction's whole write set. The apply
loop is the serial stage the workers wait behind, so hand the reclamation to a
background worker; a full queue reclaims inline rather than blocking.

The pending count lives on blockExecutor, not the package, so concurrent
blocks (and parallel tests) never share a WaitGroup.
@AskAlexSharov
AskAlexSharov marked this pull request as ready for review August 7, 2026 15:50
@AskAlexSharov
AskAlexSharov enabled auto-merge August 8, 2026 00:04
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.

1 participant