Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stuck Nodes] Rollback Tool #1495

Open
5 tasks
jessicadaugherty opened this issue Nov 2, 2022 · 1 comment
Open
5 tasks

[Stuck Nodes] Rollback Tool #1495

jessicadaugherty opened this issue Nov 2, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jessicadaugherty
Copy link
Contributor

jessicadaugherty commented Nov 2, 2022

Objective

Currently service and validator nodes can get stuck due to bad data which can result in further stuck nodes or even chain halts. The current recovery process is time consuming so nodes need an easier way to recover all or part of a database to a previous state.

Origin Document

Stuck Nodes Planning

Goal

  • Allow nodes to rollback to a previous state without completely replacing data directories manually

Deliverable

  • Create a command that enables nodes to rollback to a specific height
    • Limit the # of block heights a node can rollback to
  • Update CLI docs

Non-goals / Non-deliverables

  • Making nodes self-healing

General issue deliverables

  • Update the appropriate CHANGELOG
  • Update any relevant READMEs (local and/or global)
  • Update any relevant global documentation & references
  • If applicable, update the source code tree explanation
  • If applicable, add or update a state, sequence or flowchart diagram using mermaid

Creator: @jessicadaugherty

@jessicadaugherty
Copy link
Contributor Author

Not playing nicely with codebase ATM. Refactoring for a future release and moving to backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants