docs: warn that snapshots reset is destructive (upgrading guide)#21766
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Upgrading guide to correctly warn that erigon snapshots reset is a destructive operation (it deletes chaindata/ and related Polygon DBs by default), and removes the previously misleading implication that it “reuses existing data”.
Changes:
- Rewords the upgrade steps to point users to snapshot-upgrade options rather than directly recommending
snapshots reset. - Adds a clear warning admonition explaining the data-loss implications and recommending
update-to-new-ver-formatwhen users want to keep local data. - Regenerates
llms-full.txtoutputs to reflect the updated docs content.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
docs/site/docs/get-started/installation/upgrading.md |
Corrects snapshots reset guidance and adds a destructive-operation warning. |
llms-full.txt |
Regenerated LLM export reflecting the updated upgrade guidance. |
docs/site/static/llms-full.txt |
Regenerated static-site LLM export reflecting the updated upgrade guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The Upgrading guide described `erigon snapshots reset` as reusing existing data, but per `reset.Reset.Run()` (db/datadir/reset/reset.go) it deletes chaindata/ (plus Heimdall/Polygon-bridge DBs) and removes non-preverified / mismatched snapshot files, keeping preverified snapshots already on disk; the next start downloads only missing or incorrect snapshots. Correct the description, fix the misleading "reuse existing data" step, and add a data-loss warning. (Flagged by Copilot; matches the same fix on the main port #21765.) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
95c5e21 to
afb76dc
Compare
AskAlexSharov
approved these changes
Jun 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.
The Upgrading guide described
erigon snapshots resetas reusing existing data, but perreset.Reset.Run()(db/datadir/reset/reset.go) it deleteschaindata/(plus the Heimdall / Polygon-bridge DBs) and resetssnapshots/to the preverified set, then re-downloads (--localdefaults totrue).Corrects the
resetdescription, removes the misleading "reuse existing data" step, and adds a data-loss warning recommendingupdate-to-new-ver-formatwhen you want to keep your data.Flagged by Copilot on #21765 (the main forward-port); applying the same fix here so release/3.5 and main stay in sync. Build passes
onBrokenLinks/onBrokenAnchors;llms.txt/llms-full.txtregenerated.🤖 Generated with Claude Code