-
Notifications
You must be signed in to change notification settings - Fork 129
feat: Lock-free apply_block refactor #2345
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
Merged
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
7195581
Initial apply_block lock-free refactor
sergerad 5c7dbeb
Add snapshot count observability
sergerad b7699fc
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 46b8df6
Fix ui tests
sergerad bb3cf85
Lint
sergerad 891d702
Warn about long lived snapshots
sergerad 8c2bc02
Warn on snapshot count
sergerad 8373d9b
Scape all requests
sergerad 3a27431
Lint
sergerad 8fa1502
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad c21a950
Replace result with control flow
sergerad 0b562a8
Compartmentalize apply_block
sergerad ddf4f15
snapshots_live fn
sergerad 6556067
Shutdown writer
sergerad 2ad2bbf
Lint
sergerad 09b11f8
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad dc1e08a
Fix comments
sergerad d7e6c52
Lint
sergerad d14362e
Add branch comment
sergerad d6bf7bd
Fix shutdown
sergerad 220f911
Shutdown integration without token
sergerad 8a531c2
integrate cancellation token
sergerad 3b648ff
Refactor writer task management
sergerad aea62ce
Split module
sergerad 7f8ebc5
WriterTask
sergerad c528f19
Add benchmarks
sergerad 3ceabd1
Revert "Add benchmarks"
sergerad 0a7f05a
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 927a777
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 974aa12
Llint
sergerad 29765f0
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 5b6f022
RM deadcode
sergerad 4369f8d
State::for_tests
sergerad 858ee24
BlockWriter and WriteWorker
sergerad 9b40e4b
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad d49626f
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 082ed21
StateView (#2415)
sergerad d9b0f04
Add ScopedBlockNum
sergerad db5fe1e
Lint
sergerad f12d4ce
Fix worker module position
sergerad da541fb
with_view
sergerad e1d3e18
Fix sync_chain_mmr view usage with tip and add comments
sergerad d5ea358
map results and move map_err into closure
sergerad 60d38e6
Elaborate on with_view consistency in comments
sergerad f4b4444
ScopedBlock::range_from and impl nesting
sergerad 3d972cb
Fix comments
sergerad f4e54ad
RM unnecessary comment
sergerad 8e9f20c
Fix comment field names
sergerad 7de6dcd
Move import
sergerad 9166468
More scoped usage
sergerad f50bc3c
Fix comments
sergerad eacb766
Scope before mmr query
sergerad 59927a6
ScopedBlockNum deref
sergerad 3ea0392
RM scoped_tip
sergerad 6dbe464
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad b5e3b57
Fix entries_limit
sergerad f807adb
Shadow blocks
sergerad fde0d90
Fix var name
sergerad bd36c48
RM unnecessary db()
sergerad d990f4c
Fix scope_block
sergerad adab95a
Fix committed tip w/o subs
sergerad 862f5d9
Update with_view comment
sergerad dddafb3
Fmt comment
sergerad 8c13ffd
Update tip api comment
sergerad f593daf
Move use and mod statements
sergerad 5c8b840
Move cancellation token
sergerad 1b8a079
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 96798be
Scope select_note_inclusion_proofs
sergerad e79ea50
RM clone block bytes
sergerad 7c8d92c
&mut self proof writer
sergerad 4e5f479
&mut self block writer
sergerad 767cab7
Fix rollback
sergerad 1dddb62
Bound pruning by snapshot generation
sergerad e7bae73
Panic instead of abort
sergerad 7f07029
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 21c9cef
Drain all tasks on cancel / failure
sergerad eb14eb6
Warn only when snapshot has been superseded
sergerad bc72ddf
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 5ab5de7
Merge branch 'next' of github.com:0xMiden/miden-node into sergerad-lo…
sergerad 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
|
sergerad marked this conversation as resolved.
|
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.
Uh oh!
There was an error while loading. Please reload this page.