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

Rocks subcommand #9067

Merged
merged 11 commits into from
Feb 3, 2025
Merged

Rocks subcommand #9067

merged 11 commits into from
Feb 3, 2025

Conversation

gfukushima
Copy link
Contributor

PR Description

This a lift and shift from a tool implemented on Besu that we could use to analyse the db when using RockDb.

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
Signed-off-by: Gabriel Fukushima <[email protected]>
@gfukushima gfukushima marked this pull request as ready for review January 31, 2025 09:05
Comment on lines +76 to +80
@Command(
name = "stats",
description = "Print rocksdb stats",
mixinStandardHelpOptions = true,
versionProvider = PicoCliVersionProvider.class)
Copy link
Contributor

Choose a reason for hiding this comment

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

this one is a whole hard thing to read, Im wondering if something like a column filter or something would be useful...

Copy link
Contributor

Choose a reason for hiding this comment

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

Another option is print a better header rather than the in-line which doesnt really make anything at all clear...

Copy link
Contributor

@rolfyone rolfyone Feb 2, 2025

Choose a reason for hiding this comment

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

hrm maybe i was reading it wrongly, this isnt so bad...

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Column Family: FINALIZED_STATES_BY_SLOT

so maybe a filter option for the column?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can we add this filter on a separate PR? I don't think this is crucial for what I'm trying to get this PR merged in.

Copy link
Contributor

Choose a reason for hiding this comment

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

thats fine, the history is just so long its not usable and you need to redirect to file.

@gfukushima gfukushima merged commit 96c73da into Consensys:master Feb 3, 2025
15 of 16 checks passed
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.

2 participants