Skip to content

common/dbg: default EXEC3_PARALLEL=true#21591

Open
mh0lt wants to merge 1 commit into
mainfrom
mh/exec3-parallel-default-true
Open

common/dbg: default EXEC3_PARALLEL=true#21591
mh0lt wants to merge 1 commit into
mainfrom
mh/exec3-parallel-default-true

Conversation

@mh0lt
Copy link
Copy Markdown
Contributor

@mh0lt mh0lt commented Jun 2, 2026

Summary

Flip the EXEC3_PARALLEL env var default from false to true, so a plain ./build/bin/erigon run uses parallel execution by default. EXEC3_PARALLEL=false (or ERIGON_EXEC3_PARALLEL=false) still forces the serial path.

One-line change in common/dbg/experiments.go.

Test plan

  • make erigon clean.
  • make lint clean.
  • CI on this branch.

Note on dependency

Backed by the soak validation done in #21590 (chiado from-0 to tip, sepolia from-0 past 4,913,058, hoodi/mainnet clean — see that PR's test plan). #21590 should land first so the new default ships with the correctness fixes already in place. If #21591 merges first by accident, users hitting the SD-revival / metamorphic-CREATE2 patterns in parallel exec would regress until #21590 lands.

A separate gnosis race-class bug (4 occurrences in ~300K blocks around 14.59M-14.89M, recurring + non-deterministic) surfaced during the same soak — it is not addressed by either PR and is tracked in docs/plans/20260602-gnosis-parallel-exec-race-14594499.md. Flipping the default doesn't make it worse: users who hit it can always set EXEC3_PARALLEL=false.

@mh0lt mh0lt changed the base branch from main to mh/parallel-exec-sd-revival-metamorphic-create2 June 2, 2026 18:06
@mh0lt mh0lt force-pushed the mh/exec3-parallel-default-true branch from d1fe513 to 9246cc2 Compare June 2, 2026 18:07
Flip the EXEC3_PARALLEL env var default from false to true, making
parallel execution the default for plain `./build/bin/erigon` runs.
Setting EXEC3_PARALLEL=false (or ERIGON_EXEC3_PARALLEL=false) still
forces the serial path.

Depends on #21590 (the parallel-exec SD-revival and metamorphic-CREATE2
fixes) — that PR must merge first so the new default lands with the
correctness fixes already in place. The 5-chain soak validation that
backs the flip is documented in #21590's test plan.
@mh0lt mh0lt force-pushed the mh/exec3-parallel-default-true branch from 9246cc2 to 917ae36 Compare June 2, 2026 18:08
@mh0lt mh0lt changed the title common/dbg, cmd/integration, docs: default EXEC3_PARALLEL=true common/dbg: default EXEC3_PARALLEL=true Jun 2, 2026
@mh0lt mh0lt changed the base branch from mh/parallel-exec-sd-revival-metamorphic-create2 to main June 2, 2026 18:08
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