Skip to content

v0.3.85 — Fast Reset (clear DB & re-bootstrap)

Choose a tag to compare

@CTJaeger CTJaeger released this 21 Jul 18:55
· 2 commits to main since this release
f104f8c

Fast Reset — clear a node's chain DB and re-bootstrap from the latest epoch

A new action on each node's detail page (Chain Database panel), deliberately separate from the full-history Restore DB:

  • Red "Fast Reset — clear DB & re-bootstrap" button below the (yellow) restore button.
  • Stops the node, deletes only the local db/ subtree (keeps config/, keys and validatorKey.pem), recreates an empty db/ owned by the container user (999:999), then recreates the container with --start-in-epoch and starts it — so it fast-bootstraps a fresh epoch-aligned state.
  • No download. Not a full history — for operators who don't need archival history and want a quick fresh sync. Indexer/archival nodes should use Restore DB instead.

The two actions are kept strictly separate (own button, colour, confirm + warning) so a node isn't reset by accident.

New agent action node.reset-db (whitelisted), endpoint POST /api/nodes/{id}/reset-db, live progress over WebSocket.

⚠️ Both sides change — update the agent as well as the dashboard, otherwise node.reset-db won't reach the node.

Full Changelog: v0.3.84...v0.3.85