-
Notifications
You must be signed in to change notification settings - Fork 877
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
Bonsai archive feature #7475
Open
matthew1001
wants to merge
62
commits into
hyperledger:main
Choose a base branch
from
matthew1001:multi-version-flat-db-rebase
base: main
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
Bonsai archive feature #7475
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
a5315af
rebase of bonsai archive
jframe ec8a7ff
Change BonsaiReferenceTestWorldStateStorage getContextSafeCopy() to u…
jframe b2d9196
Force archive mode for testing
jframe fd300b0
Rebase on main
matthew1001 b10b6ae
Create new DiffBasedWorldStateConfig when copying bonsai archive worl…
matthew1001 6e786f3
Add BONSAI_ARCHIVE storage format
matthew1001 32771d3
New ACCOUNT_FREEZER_STATE DB segment. New BonsaiArchiveFreezer to lis…
matthew1001 b1f448d
Add freezer segment for account storage
matthew1001 06ba76e
Find frozen storage slots correctly, refactor the DB segment names
matthew1001 1d930f5
Check for blocks to freeze state for on startup. Store the most recen…
matthew1001 605d590
Make sure genesis world state is created in archive mode
matthew1001 c7c2ee5
Fix incorrect logs
matthew1001 990bd87
Ensure deleted storage is returned from live DB segment, not old stor…
matthew1001 8518428
Adding tests
matthew1001 a1cb77d
Refactor DB TX with retries
matthew1001 660d449
Honour code hash or account hash config for storing code. Add tests f…
matthew1001 4063128
Refactor code to move one block's worth of state/storage changes at a…
matthew1001 829a98e
Refactoring, fix issues, ensure only 1 batch of blocks is archived at…
matthew1001 faa8da1
Improve archive progress logs
matthew1001 0543017
Add archive mode tests to bonsai key/value tests
matthew1001 bf3d171
Implement snap-serving from a Bonsai Archive node and add tests
matthew1001 d2e5a24
Parameterize snap-server tests, fix bug in storage slot ranges
matthew1001 ee7c2fc
Remove todo comments
matthew1001 38cfdd9
Make BONSAI_ARCHIVE experimental for the first release. Add metrics. …
matthew1001 35d60dd
Add changelog entry
matthew1001 b8facef
Don't store every block that is waiting to be archived
matthew1001 75e57cc
Remove pre-startup catchup. Start on first block import instead
matthew1001 a6552df
Multiple deletes of the same address in a single block causes Bonsai …
matthew1001 329da00
Metric should be a gauge not a counter
matthew1001 e6364b2
Refactor archive tests after code refactor
matthew1001 8824b21
Merge branch 'main' into multi-version-flat-db-rebase
matthew1001 46a33ef
Remove commented out sections from tests
matthew1001 4051eb0
Update the BFT soak test to include a Bonsai archive node
matthew1001 c28a383
Add archive-specific checks to the BFT soak test
matthew1001 c1f239f
Merge with main
matthew1001 c226aa6
Update plugin API hash
matthew1001 a6123bb
Add javadoc
matthew1001 c4a9516
Merge fix
matthew1001 81a0907
Unit test fix
matthew1001 0036e61
Merge branch 'main' into multi-version-flat-db-rebase
matthew1001 0b0bed4
More UT fixing
matthew1001 614e5c2
Tidy up
matthew1001 5392ef4
Merge branch 'main' into multi-version-flat-db-rebase
matthew1001 763e810
Update ethereum/core/src/main/java/org/hyperledger/besu/ethereum/trie…
matthew1001 8caf063
Update plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/serv…
matthew1001 4065698
Update plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/serv…
matthew1001 602e18e
Remove debug file
matthew1001 f298255
Various refactoring to manage archive flat DB access more cleanly
matthew1001 f0a4ce1
Merge branch 'main' into multi-version-flat-db-rebase
matthew1001 88bd33e
Merge fix
matthew1001 2537ce2
Merge tests
matthew1001 f2954f5
Use alternative clearStorage()
matthew1001 c002f4b
Merge branch 'main' into multi-version-flat-db-rebase
matthew1001 b65fdaa
Fix metric name
matthew1001 b5d3c1a
Don't override rollMutableStateToBlockHash, create archive-specific f…
matthew1001 3873f8e
Update world state with block number being persisted
matthew1001 63db389
Merge branch 'main' into multi-version-flat-db-rebase
matthew1001 25c5bc6
Update changelog
matthew1001 633fad4
Move context management out of flat DB strategy
matthew1001 3d8d8c7
Add more test cases, tidy up code
matthew1001 24fa310
Merge branch 'main' into multi-version-flat-db-rebase
matthew1001 8f98f28
Update plugin hash
matthew1001 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
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.
I prefer to put it all the time, it doesn't really have a huge impact and avoids an additional condition