[r3.4] wire --erigondb.domain.steps-in-frozen-file for stage_exec and seg retire#21149
Merged
Merged
Conversation
…tire (#21025) Wire the existing `--erigondb.domain.steps-in-frozen-file` flag into two more entry points so the domain-only merge cap can be overridden when running these tools directly: - **`integration stage_exec`** — registers the flag and applies it via `AggOpts.ErigondbDomainStepsInFrozenFile` when constructing the aggregator singleton. - **`erigon seg retire`** — registers the flag on the `seg retire` subcommand and applies it via a new `Aggregator.SetErigondbDomainStepsInFrozenFile` runtime setter (the aggregator is constructed via `openAgg` here, so the override is applied post-construction, before any merge work begins). History/inverted-index merges are unaffected — the flag still only adjusts the domain merge cap, matching the main `erigon` binary's behavior. Both commits cherry-picked from the `explores_3` exploration branch. - [x] `make erigon integration` builds clean - [x] `make lint` reports 0 issues - [ ] Manual smoke: run `integration stage_exec --erigondb.domain.steps-in-frozen-file=Inf` and `erigon seg retire --erigondb.domain.steps-in-frozen-file=64` against a test datadir, confirm the override-log line fires and merges respect the new cap (cherry picked from commit ec7a361)
--erigondb.domain.steps-in-frozen-file for stage_exec and seg retire
AskAlexSharov
approved these changes
May 13, 2026
sudeepdino008
approved these changes
May 13, 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.
Requires #21148 to be merged before that one.
Cherry-pick of #21025 to
release/3.4.