Skip to content

execution/commitment: remove inert parallel-commitment warmup; refresh design doc - #22042

Merged
AskAlexSharov merged 1 commit into
mainfrom
awskii/rm-parallel-warmup
Jun 27, 2026
Merged

AskAlexSharov merged 1 commit into
mainfrom
awskii/rm-parallel-warmup

Conversation

@awskii

@awskii awskii commented Jun 25, 2026

Copy link
Copy Markdown
Member

…h design doc

The EnvWarmupParallelProcess warmup in ParallelPatriciaHashed.Process is never fed any keys (WarmKey runs only on the sequential HashSort path), so it only spawned idle goroutines. Remove it and the dead flag. Refresh docs/design/parallel-patricia-hashed.md for the #21945 deep storage fold.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes an unused (“inert”) parallel-commitment warmup path (and its associated env-gated flag), and updates the parallel commitment design doc to reflect the current deep-storage fold behavior introduced in #21945.

Changes:

  • Remove EnvWarmupParallelProcess and the unused Warmuper startup/drain logic from ParallelPatriciaHashed.Process.
  • Refresh docs/design/parallel-patricia-hashed.md to document deep storage folding (mount/unfold/fold model applied at depth 64) and update related invariants/source map.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
execution/commitment/parallel_patricia_hashed.go Deletes the env-gated warmup block from the parallel Process path (it was never fed).
common/dbg/experiments.go Removes the dead ERIGON_WARMUP_PARALLEL_PROCESS env experiment flag.
docs/design/parallel-patricia-hashed.md Updates design documentation for the deep storage fold and related invariants/contract details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 259 to 260

var warmuper *Warmuper
if warmup.Enabled && dbg.EnvWarmupParallelProcess {
if warmup.CtxFactory == nil {
warmup.CtxFactory = p.trieCtxFactory
}
warmuper = NewWarmuper(ctx, warmup)
warmuper.Start()
defer warmuper.CloseAndWait()
}

rh, mErr := p.processMounted(ctx, updates)
@AskAlexSharov
AskAlexSharov added this pull request to the merge queue Jun 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2026
@AskAlexSharov
AskAlexSharov added this pull request to the merge queue Jun 27, 2026
Merged via the queue into main with commit d879b3b Jun 27, 2026
95 checks passed
@AskAlexSharov
AskAlexSharov deleted the awskii/rm-parallel-warmup branch June 27, 2026 03:41
taratorio pushed a commit that referenced this pull request Jun 30, 2026
…h design doc (#22042)

- Remove the inert `EnvWarmupParallelProcess` warmup from
`ParallelPatriciaHashed.Process` (never fed — `WarmKey` runs only on the
sequential `HashSort` path), plus the dead flag.
- Refresh `docs/design/parallel-patricia-hashed.md` for the #21945 deep
storage fold.
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.

3 participants