This repository was archived by the owner on May 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Enable pruning storage by size #1255
Open
Alex6323
wants to merge
39
commits into
iotaledger-archive:mainnet-develop-0.4
Choose a base branch
from
Alex6323:mainnet-develop-0.4-bee-ledger-pruning-by-size
base: mainnet-develop-0.4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
f3dfb37
Update config templates
Alex6323 a485519
Refactor pruning config builder
Alex6323 1ffc253
Debug log actual and target storage size
Alex6323 fd46607
Put human-friendly sizes/durations in quotation marks in configs
Alex6323 5e54892
Log actual and target storage size in 'should_prune'
Alex6323 317be5e
Add pruning config unit test
Alex6323 553292f
Update docs in PruningSizeConfig
Alex6323 193a028
Prune milestones until final size is reached
Alex6323 b498e8e
Enable pruning-by-size; Cleanup
Alex6323 fde093c
Increase pruning index
Alex6323 ba3b93e
Log actual size during size pruning
Alex6323 356d2a6
Disable RocksDB WAL for pruning
Alex6323 0d88d22
Calculate batch byte size when pruning by size
Alex6323 9d4e8fb
Impl cooldown
Alex6323 b2f5f74
Format
Alex6323 f42b599
Clippy
Alex6323 dea6821
Prevent pruning-by-size to prune too close to ledger index
Alex6323 56293b1
Add excess to num_bytes_to_prune
Alex6323 dacd509
Address some todos
Alex6323 abc1ef9
Format
Alex6323 1724931
Cleanup
Alex6323 1ade79a
Const gen param to fn param
Alex6323 4cf4f73
Fix intra-doc links
Alex6323 87b6d55
Document unwraps
Alex6323 74aac6b
Make humanize-rs optional with no default features
Alex6323 3065524
Small renaming of enum variants
Alex6323 6d68c57
Make pruning options not mutually exclusive
Alex6323 c4cc8cf
Refactor snapshotting config and skip reasons
Alex6323 9fe5016
Change log
Alex6323 b26b28a
Better skip reason naming and consistent messages
Alex6323 3a124f4
Fix doc
Alex6323 1117a99
Better panic explanations
Alex6323 54687d0
previous instead of last
Alex6323 74b9995
Underflow panic doc
Alex6323 37ca08a
Reorder struct fields
Alex6323 54b34aa
Address some comments
Alex6323 e019d88
Add boxing helper to PruningError enum; remove redundant closures
Alex6323 9f6590e
Applied Christian awesomeness
Alex6323 680540c
Rename param
Alex6323 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.