Skip to content

[r3.4] db/state, ethconfig: bound domain merge; add --erigondb.domain.steps-in-frozen-file#21148

Merged
AskAlexSharov merged 1 commit into
release/3.4from
awskii/domain-merge-limit_34
May 13, 2026
Merged

[r3.4] db/state, ethconfig: bound domain merge; add --erigondb.domain.steps-in-frozen-file#21148
AskAlexSharov merged 1 commit into
release/3.4from
awskii/domain-merge-limit_34

Conversation

@awskii

@awskii awskii commented May 12, 2026

Copy link
Copy Markdown
Member

Cherry-pick of #20705 to release/3.4.

Conflict-resolution notes:

  • Kept stepSize/stepsInFrozenFile as uint64 (release/3.4 hasn't picked up the atomic.Uint64 refactor from main); only the new erigondbDomainStepsInFrozenFile override field was added.
  • Did not pull in unrelated test helpers (filledDomainWithHashMapAccessor, TestDomain_KeyPosResetOnCollisionRetry) that exist on main but not on release/3.4.
  • node/eth/backend.go: kept the db/consensuschain import and added db/config3 alongside it.

Prerequisite for cherry-pick of #21025 to release/3.4.

@AskAlexSharov AskAlexSharov merged commit 5d6e389 into release/3.4 May 13, 2026
23 checks passed
@AskAlexSharov AskAlexSharov deleted the awskii/domain-merge-limit_34 branch May 13, 2026 03:01
AskAlexSharov pushed a commit that referenced this pull request May 13, 2026
… and `seg retire` (#21149)

Requires #21148 to be merged before that one.


Cherry-pick of #21025 to `release/3.4`.

---------

Co-authored-by: moskud <sudeepdino008@gmail.com>
yperbasis added a commit that referenced this pull request May 21, 2026
## Summary

- Backfills `ChangeLog.md` with entries for v3.2.3, v3.3.1–v3.3.10,
v3.4.0, and v3.4.1 (previously the file stopped at v3.3.0).
- Drafts the v3.4.2 entry (release date TBD): two bugfixes (#21157,
#21262) and two improvements (#21148, #21135).
- Corrects the v3.3.0 release date to 2025-11-27 to match the GitHub
publish date.

## Test plan

- [ ] Skim the rendered changelog on GitHub for formatting.
- [ ] Confirm v3.4.2 draft contents before tagging.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bloxster added a commit that referenced this pull request May 26, 2026
Add --erigondb.domain.steps-in-frozen-file to Database and Caching section.
New in v3.4.2 (PR #21148). Flag exists on release/3.4 only; main PR skipped.
AskAlexSharov pushed a commit that referenced this pull request May 26, 2026
## Summary

New in v3.4.2 (PR #21148): `--erigondb.domain.steps-in-frozen-file`

**What it does:** Overrides the `steps_in_frozen_file` setting in
`erigondb.toml` for the domain merge cap only (history and
inverted-index merges are unaffected). Accepts a positive integer or
`"Inf"` to leave unbounded.

**Verification:**
- Defined in `cmd/utils/flags.go` as
`ErigondbDomainStepsInFrozenFileFlag`
- Registered in `node/cli/default_flags.go` (confirmed in #21148 diff)
- Not present on `main` — no `main` PR needed for this change

**Docs placement:** Database and Caching section in
`configuring-erigon/index.mdx`

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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