Skip to content

db/state, cmd/integration: remove unused history file deduplication tooling#22282

Queued
AskAlexSharov wants to merge 1 commit into
mainfrom
alex/rm_dedup_36
Queued

db/state, cmd/integration: remove unused history file deduplication tooling#22282
AskAlexSharov wants to merge 1 commit into
mainfrom
alex/rm_dedup_36

Conversation

@AskAlexSharov

Copy link
Copy Markdown
Collaborator

Removes the history-file deduplication path that only existed to back the
integration history rebuild debug command. It was snapshot tooling for
regenerating .ef/.efi/.v/.vi history files with values deduplicated, and
was never part of the background merge path.

Removed:

  • db/state/deduplicate.goHistoryRoTx.deduplicateFiles
  • db/state/history.goHistoryRoTx.CompactRange
  • cmd/integration/commands/state_history.go — the history rebuild command and its flag wiring

No remaining references to the removed symbols; go build ./db/state/... ./cmd/integration/... passes.

…ooling

Drops the snapshot-rebuild deduplication path that was only used by the
integration 'history rebuild' debug command:

- db/state/deduplicate.go: HistoryRoTx.deduplicateFiles
- db/state/history.go: HistoryRoTx.CompactRange
- cmd/integration/commands/state_history.go: 'history rebuild' command
@AskAlexSharov AskAlexSharov enabled auto-merge July 7, 2026 08:00
@AskAlexSharov AskAlexSharov added this pull request to the merge queue Jul 7, 2026
Any commits made after this event will not be merged.
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