Skip to content

docs: warn that snapshots reset is destructive (upgrading guide)#21766

Merged
AskAlexSharov merged 1 commit into
release/3.5from
docs/upgrading-reset-warning-r35
Jun 13, 2026
Merged

docs: warn that snapshots reset is destructive (upgrading guide)#21766
AskAlexSharov merged 1 commit into
release/3.5from
docs/upgrading-reset-warning-r35

Conversation

@bloxster

Copy link
Copy Markdown
Collaborator

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 the Heimdall / Polygon-bridge DBs) and resets snapshots/ to the preverified set, then re-downloads (--local defaults to true).

Corrects the reset description, removes the misleading "reuse existing data" step, and adds a data-loss warning recommending update-to-new-ver-format when 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.txt regenerated.

🤖 Generated with Claude Code

Copilot AI left a comment

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.

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-format when users want to keep local data.
  • Regenerates llms-full.txt outputs 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.

Comment thread docs/site/docs/get-started/installation/upgrading.md Outdated
Comment thread llms-full.txt Outdated
Comment thread docs/site/static/llms-full.txt Outdated

Copilot AI left a comment

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

Comment thread docs/site/docs/get-started/installation/upgrading.md Outdated
Comment thread docs/site/docs/get-started/installation/upgrading.md Outdated
Comment thread llms-full.txt Outdated
Comment thread llms-full.txt Outdated
Comment thread docs/site/static/llms-full.txt Outdated
Comment thread docs/site/static/llms-full.txt Outdated
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>
@bloxster bloxster force-pushed the docs/upgrading-reset-warning-r35 branch from 95c5e21 to afb76dc Compare June 12, 2026 16:39
@AskAlexSharov AskAlexSharov merged commit 7ffe2eb into release/3.5 Jun 13, 2026
20 checks passed
@AskAlexSharov AskAlexSharov deleted the docs/upgrading-reset-warning-r35 branch June 13, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants