-
Notifications
You must be signed in to change notification settings - Fork 985
8337 modify chain data pruner #8506
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
Merged
Matilda-Clerke
merged 45 commits into
hyperledger:main
from
Matilda-Clerke:8337-modify-chain-data-pruner
May 29, 2025
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
daecbb7
Add pre-merge pruning options to ChainPruningOptions
Matilda-Clerke 749fe64
Implement pre-merge block pruning in ChainDataPruner
Matilda-Clerke 388f631
Add an info log to preMergePruningAction
Matilda-Clerke eed10b3
Add logging
Matilda-Clerke 5d893b5
Fix database setup
Matilda-Clerke 5b12159
Unsubscribe after finishing pruning
Matilda-Clerke 1931d3f
Enable garbage collection of blobs in static data segments
Matilda-Clerke 17c8c16
Change start of pre-merge block tuning from 0 to 1 to preserve the ge…
Matilda-Clerke 9063878
Suggest garbage collection to try to avoid build up
Matilda-Clerke a0c3ce9
Fix missing space in option description in ChainPruningOptions.java
Matilda-Clerke e9e5cb0
Fix missing space in option description in ChainPruningOptions.java
Matilda-Clerke 823c930
Rework ChainDataPruner changes
Matilda-Clerke d87b84a
Remove System.gc call
Matilda-Clerke 24a954e
Move merge block number into NetworkName
Matilda-Clerke 7ec3015
Throttle pre-merge pruning progress logs to one per 5 minutes
Matilda-Clerke faa9a0f
Allow different static data to have different garbage collection enab…
Matilda-Clerke cb73c1a
Update ChainDataPruner threadpool to match with metrics naming schemes
Matilda-Clerke ec9ba28
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke 51173f6
Add 1 second sleep at start of pre-merge pruning action
Matilda-Clerke b7611b7
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke 458ceea
Keep transaction difficulty to be consistent with updated sync
Matilda-Clerke db8e25c
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke 0b7a74a
Adjust logging of a finish notification
Matilda-Clerke 53580c9
Turn off staticDataGarbageCollection for BLOCKCHAIN
Matilda-Clerke 7148efe
Rename constant to include time unit
Matilda-Clerke 9c9bb01
spotless
Matilda-Clerke 210b06c
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke e0c5554
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke 2b8cf7e
Add debug log for pre-merge pruning progress
Matilda-Clerke 7182cf8
Update NetworkName.mergeBlockNumber to firstPosBlockNumber
Matilda-Clerke 02390e5
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke 84eaf2c
Change pre-merge block pruning enablement to use data flag
Matilda-Clerke c197b1e
Add stack trace to start of pruning debug log to debug source of mult…
Matilda-Clerke f5c3c65
Move setIgnorableStorageSegments to after configure call
Matilda-Clerke 5769dea
Revert "Add stack trace to start of pruning debug log to debug source…
Matilda-Clerke d7f062f
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke 883ac25
Only execute preMergePruningAction for new canonical head
Matilda-Clerke a106767
spotless
Matilda-Clerke be85913
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke c74540c
Use checkpoint in genesis file and remove first PoS block from Networ…
Matilda-Clerke 229dfdb
Merge remote-tracking branch 'origin/8337-modify-chain-data-pruner' i…
Matilda-Clerke 18479be
Add unit test for new ChainDataPruner functionality
Matilda-Clerke 3dcfc69
Merge branch 'main' into 8337-modify-chain-data-pruner
Matilda-Clerke 67f7978
Set default ChainDataPruner pre merge batch size to 100
Matilda-Clerke b03d76d
Merge remote-tracking branch 'origin/8337-modify-chain-data-pruner' i…
Matilda-Clerke 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 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
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.
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.
Good user feedback.