Skip to content

Generating checkpoint for RocksDB#3743

Merged
jolestar merged 6 commits into
mainfrom
generating_checkpoint
Nov 18, 2025
Merged

Generating checkpoint for RocksDB#3743
jolestar merged 6 commits into
mainfrom
generating_checkpoint

Conversation

@steelgeek091

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Oct 13, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rooch-portal-v2.1 Ready Ready Preview Comment Nov 18, 2025 11:27am
test-portal Ready Ready Preview Comment Nov 18, 2025 11:27am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
rooch Ignored Ignored Preview Nov 18, 2025 11:27am

@github-actions

github-actions Bot commented Oct 13, 2025

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

github-actions Bot commented Oct 13, 2025

Copy link
Copy Markdown

Docker images for this PR are available:

  • ghcr.io/rooch-network/rooch:pr-3743
  • ghcr.io/rooch-network/rooch:pr-3743-9150ec1
  • ghcr.io/rooch-network/rooch:pr-3743_debug
  • ghcr.io/rooch-network/rooch:pr-3743-9150ec1_debug

Pull commands:

  • docker pull ghcr.io/rooch-network/rooch:pr-3743
  • docker pull ghcr.io/rooch-network/rooch:pr-3743-9150ec1
  • docker pull ghcr.io/rooch-network/rooch:pr-3743_debug
  • docker pull ghcr.io/rooch-network/rooch:pr-3743-9150ec1_debug

@jolestar jolestar requested a review from Copilot October 15, 2025 01:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 GenerateDBCheckPointCommand that 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

Comment thread crates/rooch/src/commands/db/commands/generate_db_checkpoint.rs Outdated
Comment thread crates/rooch/src/commands/db/commands/generate_db_checkpoint.rs Outdated
@jolestar

Copy link
Copy Markdown
Contributor

@copilot, help resolve the conflicts and rebase.

Copilot AI commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

@jolestar I've opened a new pull request, #3756, to work on those changes. Once the pull request is ready, I'll request review from you.

@jolestar jolestar merged commit 3c712ac into main Nov 18, 2025
7 of 17 checks passed
@jolestar jolestar deleted the generating_checkpoint branch November 18, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants