-
Notifications
You must be signed in to change notification settings - Fork 834
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 --X-trie-log subcommand #6303
Merged
gfukushima
merged 27 commits into
hyperledger:main
from
gfukushima:x-trie-log-subcommand-2
Jan 8, 2024
Merged
Changes from 16 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
16c0a49
Add x-trie-log subcommand for one-off backlog prune
siladu 7dd4928
long -> int
siladu bf2b098
Removed banned method
gfukushima e67ae51
Preload process stream in parallel
gfukushima 9b4e0c9
Drop unwanted trielogs and keep reatain layers only
gfukushima 0b9fe83
Add output to user and cleanup refactor
gfukushima 426848e
small tweak to display cf that had reference dropped by RocksDbSegmen…
gfukushima 7401b59
spotless
gfukushima 1b7fb72
Fix classes that changed package
gfukushima 11e6b05
spotless
gfukushima f2d01e2
Code review
gfukushima 04f1aaa
Only clear DB when we have the exact amount of trie logs we want in m…
gfukushima 2f01c5a
Trielogs stream to and from file to avoid possibly OOM
gfukushima 56e4c8e
Process trie logs in chunks to avoid OOM
gfukushima 78561b0
save and read in batches to handle edge cases
gfukushima 42c72cf
save and read files to/from database dir
gfukushima 9961fc2
Merge branch 'main' into x-trie-log-subcommand-2
gfukushima 9389540
add unit tests and PR review fixes
gfukushima e3d4fbc
Merge branch 'main' into x-trie-log-subcommand-2
gfukushima c7144fe
spdx
gfukushima 20b0ba5
Fix unit tests directory creation and deletion
gfukushima e7d175c
Merge branch 'main' into x-trie-log-subcommand-2
gfukushima b214bf2
PR review
gfukushima aa75348
Merge branch 'main' into x-trie-log-subcommand-2
gfukushima 2bc0732
Merge remote-tracking branch 'origin/x-trie-log-subcommand-2' into x-…
gfukushima deec021
Merge branch 'main' into x-trie-log-subcommand-2
gfukushima 5d7b68e
Merge branch 'main' into x-trie-log-subcommand-2
gfukushima File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes here seem fine but unrelated. Every time I look at this class name though I think it is a CLI Usage helper, like the output that gets printed when one asks for help or gets command usage wrong. completely unrelated, but if we are going to make changes in this pr ... :)