-
Notifications
You must be signed in to change notification settings - Fork 794
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
Modularize beacon node backend #4718
Merged
mergify
merged 133 commits into
sigp:unstable
from
eserilev:modularize-beacon-node-backend
Jan 23, 2025
Merged
Changes from 115 commits
Commits
Show all changes
133 commits
Select commit
Hold shift + click to select a range
0487b33
add interface
eserilev 4b48ef8
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev ec84723
level db interface updates
eserilev 86b820e
level db interface updates
eserilev 846b213
starting the split
eserilev a885c62
remove leveldb references
eserilev b8636d1
get test cases to pass
eserilev 7177f22
refactor and get test cases to pass
eserilev d86eaf3
generalize key iter
eserilev d6c4971
resolve merge conflicts
eserilev 2ee7279
rename impl to LevelDB
eserilev cc1dcf4
initial work
eserilev b6a2823
write option
eserilev 3881da1
cfg
eserilev 1d39785
merge
eserilev 04011f3
redb db impl
eserilev e2ecb41
redb
eserilev 323e9a9
durability and atomicity
eserilev e2a9f7c
Merge branch 'beacon-node-backend-redb' into modularize-beacon-node-b…
eserilev ad24ec9
remove savepoint
eserilev 3e557d6
Merge branch 'beacon-node-backend-redb' into modularize-beacon-node-b…
eserilev 39c6b83
working on getting full_participation_no_skips test to pass
eserilev f718f9f
test case passes
eserilev 41700d6
update
eserilev 04eada1
use rw lock
eserilev e4d47ea
table iter experiment
eserilev 4cf145d
iterator tests
eserilev 01f8d3d
redb 2.0
eserilev 22cb4c0
iter_column_keys
eserilev 27e9128
remove generic type param
eserilev 82ed22d
test cases passing
eserilev f96ea2a
iter temp and iter raw impl
eserilev 1583a1f
remove unneeded get_key_for_col
eserilev 715e24d
fix
eserilev 5dab93b
lint
eserilev 114c7dd
remove unwraps
eserilev b84ff3c
fmt
eserilev 6badfe6
redb dependency
eserilev a76f64f
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev ae6bf24
add db name
eserilev 795859e
resolve merge conflicts
eserilev ab5e6a8
merge conflicts resolved
eserilev 9f4ccb5
dir check
eserilev 5b49e4f
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev 487c2f1
logging errors
eserilev fd60c5b
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev e1ab17d
consolidate iter_raw to generic iter
eserilev ceeded2
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev 2bb1be7
linting
eserilev b1c437d
off by one column iter
eserilev 0c6352b
fix test
eserilev 69f315f
remove iter_temp_state_roots, add predicate, add backend flag
eserilev 969b679
added redb and leveldb build feature
eserilev ddb68e2
update docket
eserilev 304aed9
resolve merge conflict
eserilev de444ee
resolve merge conflicts, move redb to v2.0
eserilev 48c5ca4
merge unstable
eserilev 577836c
fmt fmt fmt
eserilev d067bc6
resolve merge conflicts
eserilev bdcdbda
remote iter raw keys
eserilev ad7f889
fix failed test
eserilev acfcd55
fmt
eserilev 1164ddd
cargo changes
eserilev def8b6c
Merge branch 'modularize-beacon-node-backend' of https://github.com/e…
eserilev f7fc0a0
defeault to redb
eserilev e1806d8
defeault to redb
eserilev 2d2d4e9
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev fdbe248
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev 0b3eee2
revert forced redb
eserilev 15569b7
rename dbfile to .redb
eserilev 72d56ec
fix test, update docs
eserilev e9ee3ba
fix leveldb error
eserilev 2494a08
fmt
eserilev 58d0baf
leveldb fix
eserilev ced1189
remove println
eserilev ec7059b
remove extraneous migration schemas and comment tuples
eserilev ad7db41
add compaction metrics
eserilev 8ed2ff4
log from_ssz_bytes error in lc server
eserilev 63b15b1
add additional metrics
eserilev fc2e412
linting
eserilev 74e1c07
fixbroken test
eserilev 72b6381
metrics
eserilev 627f013
fix build error
eserilev 6237531
small revert
eserilev df59d23
resolve merge conflicts:
eserilev d97aeaf
Merge branch 'modularize-beacon-node-backend' of https://github.com/e…
eserilev 0bab63c
update metrics
eserilev 06490d4
fix redb
eserilev 89866f2
fix conflicts, add TODOS
eserilev f2c514a
Merge branch 'modularize-beacon-node-backend' of https://github.com/e…
eserilev 7428536
remove todos
eserilev 910f45d
fix audits
eserilev cf3b056
conflicts
eserilev b589e2d
resolve conflicts, add some TODOs
eserilev e3cdca5
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev 282aa16
update redb version to 2.1.3
eserilev 807137a
get tests to pass
eserilev 4b7a4ff
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev 7bcc6f4
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev 921dbae
Merge remote-tracking branch 'origin/unstable' into modularize-beacon…
michaelsproul 23b0a7c
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev be5ceec
optimize redb temp state cleanup
eserilev 5e7ff6e
fix tests
eserilev c83812b
fix test
eserilev eda7aef
delete while fn to iterate through blobs and prune
eserilev b11ce93
linting
eserilev 9863c71
cleanup
eserilev 4f80f27
resolve merge conflicts
eserilev d53c5ff
fmt
eserilev c938048
fix test
eserilev 4a46aed
fix blob and column logic
eserilev 28925dc
Merge branch 'unstable' of https://github.com/sigp/lighthouse into mo…
eserilev 6dfd984
more widespread usage of DBColumn
eserilev 7ac9460
Merge branch 'modularize-beacon-node-backend' of https://github.com/e…
eserilev d3e8216
Merge remote-tracking branch 'origin/unstable' into modularize-beacon…
michaelsproul ced0e07
Add missing plumbing for backend CLI flag
michaelsproul 6d8898a
add beacon node backend flag to db manager
eserilev 8565c77
add beacon node backend flag to db manager
eserilev ec20adf
add beacon node backend flag to db manager
eserilev 2512fed
Add delete_while to leveldb
eserilev c179254
Cargo sort
eserilev bbdcbdd
update wordlist and md file
eserilev ddf0ebc
Merge remote-tracking branch 'origin/unstable' into modularize-beacon…
michaelsproul 9a0b920
rename to delete_if
eserilev 1f02130
Merge branch 'modularize-beacon-node-backend' of https://github.com/e…
eserilev 1b31492
Re-delete OTB verification service
michaelsproul 1feac02
Remove directory detection for Redb
michaelsproul 9f971eb
Delete `iter_raw_entries`
michaelsproul 6bb73b9
Cosmetic fixes from review
michaelsproul ed9d347
Avoid holding block cache lock during blob pruning
michaelsproul d79cb2e
Refactor iter_column and iter_column_from
eserilev 40ff310
Merge branch 'modularize-beacon-node-backend' of https://github.com/e…
eserilev 33f3262
Fix tests
eserilev 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 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
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
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
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
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.
Why is this change required? It seems we had to remove an assert to get the test related to this method to pass
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've removed this change and updated
iter_column_from
to not take in a predicate anymoreThere 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.
Heh, I think Jimmy wanted the predicate for data column stuff, but looks like we can probably just use
take_while
chained onto theiter_column_from
. We can reassess in the context of his PR.