common/dbg: default EXEC3_PARALLEL=true#21591
Open
mh0lt wants to merge 1 commit into
Open
Conversation
d1fe513 to
9246cc2
Compare
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.
9246cc2 to
917ae36
Compare
taratorio
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Flip the
EXEC3_PARALLELenv var default fromfalsetotrue, so a plain./build/bin/erigonrun uses parallel execution by default.EXEC3_PARALLEL=false(orERIGON_EXEC3_PARALLEL=false) still forces the serial path.One-line change in
common/dbg/experiments.go.Test plan
make erigonclean.make lintclean.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.