chore(deps): bump reth to feat/migrate-v2-resume for --resume flag#388
Draft
chee-chyuan wants to merge 1 commit into
Draft
chore(deps): bump reth to feat/migrate-v2-resume for --resume flag#388chee-chyuan wants to merge 1 commit into
chee-chyuan wants to merge 1 commit into
Conversation
Tracks bnb-chain/reth#203 for the migrate-v2 --resume flag needed to finish a half-completed v1 → v2 archive migration without re-running the multi-day changeset/receipt phases. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request ReviewThis PR updates Sensitive ContentNo sensitive content detected. Security IssuesNo serious security issues detected. Generated by Hashdit Bot. This tool can absolutely NOT replace manual audits. |
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
Tracks bnb-chain/reth#203 — adds the
migrate-v2 --resumeflag needed to finish a half-completed v1 → v2 storage migration without redoing the multi-day changeset/receipt phases.Why
On a 9.3 TB BSC archive the migration was OOM-killed after
StorageSettingswas already flipped to v2 but beforeclear_recomputable_tablesdid any writes. Re-running stockmigrate-v2hits the "already v2, nothing to do" early-exit and leaves the DB in a half-migrated state (changesets/receipts in static files, MDBX still full of v1 tables, stage checkpoints not reset).--resumejumps straight to clear + compact + swap.This PR only flips the bnb-chain/reth deps from
tag = "v0.0.10"tobranch = "feat/migrate-v2-resume". Merge after bnb-chain/reth#203 lands and is retagged (or change to point at the new tag).Test plan
cargo build --releasereth-bsc db migrate-v2 --resumeon a half-migrated archive🤖 Generated with Claude Code