-
Notifications
You must be signed in to change notification settings - Fork 111
perf/kv generation plus preprocessed jumpdest #4933
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
Draft
Oppen
wants to merge
149
commits into
main
Choose a base branch
from
perf/kv_generation_plus_preprocessed_jumpdest
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.
Draft
Changes from all commits
Commits
Show all changes
149 commits
Select commit
Hold shift + click to select a range
77c61a6
add benching util
iovoid 37fadd9
edit root cargo.toml
iovoid 731f5ef
basic pathbased impl
iovoid 29850f8
improve serialization
iovoid 4f8e956
read optimization
iovoid fa27f76
fixes
iovoid 9bda718
start fixing snapsync
iovoid fd66967
cleanup
iovoid 26a5715
validate node fetches
iovoid aa86d98
fix opening hash
iovoid 675ee90
fix state healing node fetch
iovoid 60e3476
Merge branch 'main' into pathbased_testing
iovoid cc54cd9
fix merge
iovoid e3103f0
cleanup
iovoid fd0a71c
remove contains_X_node APIs
iovoid 148655f
lint
iovoid 0592338
heal terminal leaves too
iovoid 8aa3966
fix rocksdb test
iovoid 175de2d
save rollback logs
iovoid 454db9b
Revert "save rollback logs"
iovoid 8eac9a9
re-add full-path leaves
iovoid 2678119
lint&fix
iovoid cfda5fb
basic trie layer implementation
iovoid a23275d
add passthrough for trie wrapper, for now
iovoid e1b301c
flush batch to cache instead of db
iovoid 5c34ee8
Merge branch 'main' into pathbased_testing
iovoid e4f5a18
clippy
iovoid 3af5e60
fix insert ordering
iovoid b8d5a78
better find the state root
iovoid 840cb3d
fix storage handling
iovoid 77458d4
fix insert-after-remove
iovoid fad5ba5
revert head to last state
iovoid 9935d98
direct trie and fixes
iovoid a011a3e
fix incorrect miss
iovoid 5f41620
snapsync fixes
iovoid 63f01dc
Merge branch 'main' into pathbased_testing
iovoid dede3ab
also delete from db
iovoid fa28ad7
add healing logic
iovoid fa47749
healing fixes
iovoid ee75c19
docs: add comment
MegaRedHand 6136bf8
refactor: add delete_range function in Store
MegaRedHand 2b077da
Revert "refactor: add delete_range function in Store"
MegaRedHand fc02510
delete range improvement
iovoid aa63a77
Reapply "refactor: add delete_range function in Store"
MegaRedHand 9e06da7
fix extension range delete
iovoid 8750945
fix: add logs and add fix to storage healing
MegaRedHand 0c6ba6e
fix delete path calculation
iovoid 3a01580
Improved logs for speed
fedacking e5645dd
Update storage_healing.rs
fedacking ef27dc6
test: add test for computing subtree ranges
MegaRedHand 49e817f
chore: comment out spammy print
MegaRedHand dce6506
Merge branch 'main' into pathbased_testing
MegaRedHand 63eec48
perf: remove unnecessary clone
MegaRedHand f688021
fix: use full path when computing storage range
MegaRedHand 5d45a41
chore: remove logs
MegaRedHand d4cdc9c
chore: remove commented print
MegaRedHand 2d81017
do not return empty value nodes
iovoid 9f0a639
Merge branch 'main' into pathbased_testing
MegaRedHand bb0464f
fix: remove nodes when writing empty
MegaRedHand 9387932
refactor: improve InconsistentTree error messages
MegaRedHand 8cfbe4c
move storage healing to db thread
iovoid f058dd6
also delete leaf-related paths
iovoid 7dd5d73
chore: enable warn-on-block feature in spawned
MegaRedHand 5c0a47c
fix
MegaRedHand f80e1b5
chore: disable warn-on-block again
MegaRedHand 62dba3c
fix failed insertion error
iovoid ca69f55
Change vec for btreemap on nodes to write state healing
gianbelinche 2753a9a
avoid costly deletions when not needed
iovoid dd45f7d
Merge branch 'main' into pathbased_testing
MegaRedHand cd889eb
Add delete range batch
gianbelinche 36d7a40
Add delete ranges log
gianbelinche f8150c4
fix deleting the wrong nodes
iovoid 389c8d4
Merge branch 'main' into pathbased_testing
MegaRedHand 4a17209
remove unneeded apply_prefix
iovoid bbbe4eb
feat: add failed block hash to log
MegaRedHand 844247f
also free peers in healing
iovoid e626ca0
avoid concurrent writes
iovoid a950ce2
Merge branch 'pathbased_testing' into pathbased_change_db_test
iovoid 31b0590
regnerate snapshot from leaves after healing
iovoid bafbcc0
rename and update val
iovoid c60a57c
fixes
iovoid 986f059
disable snapshots
iovoid d99b01a
restore snap cycle size
iovoid c703e13
remove spammy log
iovoid a82b75c
chore: run cargo fmt
MegaRedHand c0ee61e
chore: remove libmdbx
MegaRedHand 78cbe11
Merge branch 'main' into path_based
MegaRedHand 889a696
chore: fix some clippy issues
MegaRedHand 5fb1428
chore: add some changes from old branch
MegaRedHand c8a0671
chore: remove unused delete_range functions
MegaRedHand 6b994c3
fix: implement eth_getProof again
MegaRedHand bd49420
fix bug in storage insertion
iovoid d595a6a
Merge branch 'main' into path_based
MegaRedHand ac7edd4
re-enable snapshots
iovoid 9236bea
fix: implement new functionality for InMemoryDb
MegaRedHand 12357f6
chore: remove get_node_checked
MegaRedHand 3a9a443
chore: UNCOMMENT CONDITION
MegaRedHand 0253eae
chore: fix lints
MegaRedHand 0573013
fix leaf regen path
iovoid c7732cf
fix: update Trie::get_node
MegaRedHand f79ac75
chore: update archive_sync
MegaRedHand b28da0f
chore: bump max diff-layers to 128
MegaRedHand 160381a
chore: ignore unused parameter
MegaRedHand 449dbe5
chore: fix lint issue and add comment
MegaRedHand 8721a47
Path based merge optimizations (#4825)
MegaRedHand 95dcfec
Merge branch 'path_based' into pathbased_regen_leafs
pablodeymo 44a4fdc
fix import
iovoid 0a76511
split snapshot to separate table
iovoid 285bb60
implement snapshoot
iovoid 24c102a
launch in thread
iovoid 92dc4f4
fixes
iovoid 01ae76a
read empty last_written is missing
iovoid 1ab221b
refactor snapshooter into separate thread
iovoid 093b987
conditionally advance iterators
iovoid a317224
add logging
iovoid be14f5f
add debug logging
iovoid 965474b
add logging and improve locked trie
iovoid 8c48e34
empty snapshot table before starting
iovoid f504301
fix snapshot adding condition
iovoid 811daf4
block until continue
iovoid 10bb130
fix last_written advance
iovoid c65f10f
wait until write to signal snapshotter
iovoid bea428f
mark snapshot as complete when done
iovoid 87a56e5
cleanup
iovoid 6032348
Merge branch 'main' into pathbased_regen_versioning
iovoid 8681ca8
fix merge
iovoid f477f81
remove unwanted changes
iovoid 08424a6
fix duplicated wait
iovoid 7856ee4
add docs
iovoid 6bb4c64
fix fkv-done marker
iovoid f07ff1a
rename snapshot->FlatKeyValue
iovoid d692dba
save last fkv batch
iovoid 88b65cc
check done marker
iovoid 0dc67db
Merge branch 'main' into pathbased_regen_versioning
iovoid 8059482
Merge branch 'main' into pathbased_regen_versioning
iovoid e688e36
fmt
iovoid ea12776
fix tests
iovoid cf89733
ignore fkv in test
iovoid 036684d
Merge branch 'main' into pathbased_regen_versioning
iovoid 1197e92
Merge remote-tracking branch 'origin/main' into pathbased_regen_versi…
Oppen 09c5625
perf: preprocess code for jump destinations
Oppen 2b86dfc
fix mask
Oppen 1f6a807
fix mask for real
Oppen 575a8a8
fix count
Oppen 411e3d0
fix count
Oppen e307c90
restore missing check
Oppen 1b4a9cb
remove unused filter code
Oppen 5d9d05a
remove more unused code
Oppen 791a5e1
off-by-one
Oppen 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
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
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.
This was removed in main: