Generating checkpoint for RocksDB#3743
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
Docker images for this PR are available:
Pull commands:
|
jolestar
approved these changes
Oct 15, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request implements functionality to generate RocksDB checkpoints for the Rooch blockchain database. The changes add a new command-line interface command that allows users to create database checkpoints for backup or snapshot purposes.
- Added a new
GenerateDBCheckPointCommandthat creates RocksDB checkpoints - Updated database module structure to include the new checkpoint command
- Fixed RocksDB configuration for readonly mode by setting
error_if_exists(false)
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| moveos/raw-store/src/rocks/mod.rs | Fixed RocksDB readonly mode configuration |
| crates/rooch/src/commands/db/mod.rs | Added command enum variant and execution handler |
| crates/rooch/src/commands/db/commands/mod.rs | Added module declaration for checkpoint command |
| crates/rooch/src/commands/db/commands/generate_db_checkpoint.rs | Implemented the checkpoint generation command |
| crates/rooch/src/commands/db/commands/import_state.rs | Added documentation comment |
| crates/rooch/src/commands/db/commands/dump_state.rs | Added documentation comment |
Contributor
|
@copilot, help resolve the conflicts and rebase. |
Contributor
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
fe53c56 to
deba799
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.