-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
coreCore infrastructure - protocol relatedCore infrastructure - protocol relatedpersistencePersistence specific changesPersistence specific changesutilityUtility specific changesUtility specific changes
Milestone
Description
Objective
Implement a way to restore the persistence state having a snapshot as source.
Origin Document
Goals
- The snapshot should be decompressed
- The snapshot should be sourced from a folder that's defined in Persistence configuration (see [Utility][Persistence][Savepoints/Rollbacks] Implement Snapshots - Persist SavePoints #567)
- When rolling back, the node should enter a special state and the modules should coordinate accordingly using
state-machineandbus - When the rollback process is completed (OK or KO) normal operation should resume. The node should sync to catch up with what happened while it was rolling back
- Implement a way to provide feedback to the caller (RPC->CLI) about the progress and status of the operation
The same mechanism can be used for snapshots (see [Utility][Persistence][Savepoints/Rollbacks] Implement Snapshots - Persist SavePoints #567) and polled by the CLI right after the create rollback command is triggered
Deliverable
- A PR with implementation tending to the goals above
- Tests
Non-goals / Non-deliverables
General issue deliverables
- Update the appropriate CHANGELOG(s)
- Update any relevant local/global README(s)
- Update relevant source code tree explanations
- Add or update any relevant or supporting mermaid diagrams
Testing Methodology
- Task specific tests or benchmarks:
make ... - New tests or benchmarks:
make ... - All tests:
make test_all - LocalNet: verify a
LocalNetis still functioning correctly by following the instructions at docs/development/README.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreCore infrastructure - protocol relatedCore infrastructure - protocol relatedpersistencePersistence specific changesPersistence specific changesutilityUtility specific changesUtility specific changes
Type
Projects
Status
In Progress