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

Add rocksdb and trie-log subcommands to storage command #1642

Merged
merged 4 commits into from
Jul 1, 2024

Conversation

siladu
Copy link
Contributor

@siladu siladu commented Jul 1, 2024

Following #1640

Preview: https://besu-docs-git-fork-siladu-storage-subcommand-hyperledger.vercel.app/development/public-networks/reference/cli/subcommands#storage

Here's the relevant cli help for more context...

besu storage --help
Usage: besu storage [-hV] [COMMAND]
This command provides storage related actions.
  -h, --help      Show this help message and exit.
  -V, --version   Print version information and exit.
Commands:
  revert-variables      This command revert the modifications done by the
                          variables storage feature.
  rocksdb               Print RocksDB information
  trie-log, x-trie-log  Manipulate trie logs
  revert-metadata       Revert database metadata to previous format
besu storage rocksdb --help
Usage: besu storage rocksdb [-hV] [COMMAND]
Print RocksDB information
-h, --help      Show this help message and exit.
-V, --version   Print version information and exit.
Commands:
usage    Print disk usage
besu storage trie-log --help
Usage: besu storage trie-log [-hV] [COMMAND]
Manipulate trie logs
  -h, --help      Show this help message and exit.
  -V, --version   Print version information and exit.
Commands:
  count   This command counts all the trie logs
  prune   This command prunes all trie log layers below the retention limit,
            including orphaned trie logs.

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
@siladu siladu requested a review from a team as a code owner July 1, 2024 03:03
Copy link

vercel bot commented Jul 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
besu-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2024 5:57pm

Copy link
Contributor

@m4sterbunny m4sterbunny left a comment

Choose a reason for hiding this comment

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

suggested simplification

Copy link
Contributor

@joaniefromtheblock joaniefromtheblock left a comment

Choose a reason for hiding this comment

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

LGTM

joaniefromtheblock and others added 3 commits July 1, 2024 13:40
Signed-off-by: joan e <joan.edwards@consensys.net>
Signed-off-by: joan e <joan.edwards@consensys.net>
Signed-off-by: joan e <joan.edwards@consensys.net>
@joaniefromtheblock joaniefromtheblock merged commit 5caba7a into hyperledger:main Jul 1, 2024
10 checks passed
@siladu siladu deleted the storage-subcommand branch July 1, 2024 21:30
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.

3 participants