-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
clientwork needed to interface with the node (rpc, cli, etc..)work needed to interface with the node (rpc, cli, etc..)persistencePersistence specific changesPersistence specific changestoolingtooling to support development, testing et altooling to support development, testing et al
Milestone
Description
Objective
Implement the commands that will target the RPC endpoints defined in #565
Origin Document
Goals
Listing Available Savepoints
p1 persistence savepoints listIt would return a list of available savepoints along with some metadata including but not limited to:
- Block number
- Timestamp of snapshot creation
- Snapshot size (human-readable)
- Snapshot hash
- [Optional] Signer & signature of the snapshot
Creatin New Savepoints
p1 persistence savepoints createIt would trigger the creation of a savepoint and return the identifier/full_path & metadata for easy download
- Rollback to a previous savepoint ([PERSISTENCE] SavePoints and Rollbacks design document (Issue #493) #533 (comment))
p1 persistence savepoint rollback [snapshot hash]Querying Savepoint Status
- Query/poll for status of an operation
This is something that the CLI should be capable of doing as part of theRollbackcommand. Example:- Start rollback
- Poll status until OK or KO
- Return to prompt
Deliverable
- A PR with implementation tending to the goals above
- Documentation showing an e2e flow that creates, applies and benchmarks savepoints
Non-goals / Non-deliverables
- Changes in the persistence module
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
- 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
clientwork needed to interface with the node (rpc, cli, etc..)work needed to interface with the node (rpc, cli, etc..)persistencePersistence specific changesPersistence specific changestoolingtooling to support development, testing et altooling to support development, testing et al
Type
Projects
Status
Backlog