Skip to content

Fixed deduplication intervals for rebuild cmd#18796

Merged
AskAlexSharov merged 1 commit into
mainfrom
eastorski/fix-dedup-intervals
Jan 26, 2026
Merged

Fixed deduplication intervals for rebuild cmd#18796
AskAlexSharov merged 1 commit into
mainfrom
eastorski/fix-dedup-intervals

Conversation

@eastorski
Copy link
Copy Markdown
Contributor

@eastorski eastorski commented Jan 25, 2026

Use correct step intervals for rebuild cmd

@AskAlexSharov AskAlexSharov merged commit 1da295d into main Jan 26, 2026
17 of 20 checks passed
@AskAlexSharov AskAlexSharov deleted the eastorski/fix-dedup-intervals branch January 26, 2026 03:56
Comment thread db/state/deduplicate.go
Comment on lines +44 to +46
if len(indexFiles) > 1 || len(historyFiles) > 1 {
return fmt.Errorf("wrong deduplication interval from %d to %d", r.history.from, r.history.to)
}
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.

If this is not allowed, then why not change the function signature to :

func (ht *HistoryRoTx) deduplicateFiles(ctx context.Context, indexFile, historyFile *FilesItem, r HistoryRanges, ps *background.ProgressSet) error

mattevans added a commit to ethpandaops/erigone-legacy that referenced this pull request Jan 28, 2026
* main: (37 commits)
  Make `lastCommittedTxNum` atomic (erigontech#18820)
  integrity: fix redundant variable name in checkLogIdx (erigontech#18646)
  Fixed index building for v0 snapshot format (erigontech#18825)
  execution/vm: fold EVMInterpreter into EVM (erigontech#18765)
  fix: return correct prune mode value instead of nil (erigontech#18804)
  fix BuildMissedAccessors for caplin state (erigontech#18802)
  execution: EIP-7708: ETH transfers emit a log (erigontech#18761)
  refactor(rpc): remove redundant boolean comparison in AccountRange (erigontech#18814)
  Show the default P2P discovery bools in --help (erigontech#18818)
  fix(txpool): remove redundant Worst() calls in queued pool discard loop (erigontech#18810)
  node: remove unused logger and test helper (erigontech#18744)
  Disabled compression in collate function (erigontech#18813)
  Add missing tx.Commit() in stage_snapshots (erigontech#18816)
  Bumped major version of snapshot files (erigontech#18815)
  qa-tests: summary for RPC integration tests (erigontech#18809)
  perf: reuse hash buffer in witness storage leaf hash (erigontech#18803)
  execution/stagedsync: remove canPrune from serial_exec (erigontech#18800)
  Fixed deduplication intervals for rebuild cmd (erigontech#18796)
  Fix race due to warmup cache (erigontech#18799)
  fix(txpool): use instance logger instead of global log (erigontech#18797)
  ...
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