-
Couldn't load subscription status.
- Fork 554
Parallel block import #1662
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
Parallel block import #1662
Changes from 67 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
8f4f411
core: naive first implmenetation of parallel block import in InsertCh…
Raneet10 5c6191d
core: add logic to handle dependency while parallel import
Raneet10 8e7f4d7
core: handle unknown ancestor + init some UTs
Raneet10 2922e0b
Merge branch 'stateless_sync' of github.com:maticnetwork/bor into ran…
Raneet10 dfc5091
core: implement alternative way to check for unknown ancestor
Raneet10 260b975
core: defer ValidateWitnessPreState
Raneet10 67dad52
zero commit
Raneet10 a0b09f4
core: do sequential insert if the importing chain is small
Raneet10 7ad379c
core: fix error handling
Raneet10 8c4a5b2
core: update UTs
Raneet10 7f2c92b
core,eth,internal/cli: add config to enable/disable parallel import +…
Raneet10 ce74928
core: add metrics for seq and parallel import
Raneet10 24de459
Merge branch 'develop' of https://github.com/maticnetwork/bor into ps…
pratikspatil024 0bdc0b2
internal/cli: moved parallelstatelessimport flag to the witness config
pratikspatil024 5da6523
core: changed debug import log to info
pratikspatil024 58dde62
core: added 2 new metrics to track the number of blocks processed in …
pratikspatil024 2478357
core: init benchmarks
Raneet10 02e53a9
Merge branch 'raneet10/parallel-block-import' of github.com:maticnetw…
Raneet10 c4d1502
Merge branch 'v2.3.0-candidate' of https://github.com/maticnetwork/bo…
pratikspatil024 0e6c77d
core: fix benchmarks
Raneet10 dac9784
Merge branch 'raneet10/parallel-block-import' of github.com:maticnetw…
Raneet10 bfce765
core: use worker pool for parallel block import
Raneet10 e990f09
core: try parallel import for smaller batch
Raneet10 0a1b736
core: dedup header verification logic
Raneet10 6820582
zero commit
Raneet10 10968ee
core,eth,internal/cli: improvements based on comments
Raneet10 f451acd
core: add adversarial tests for stateless insert
Raneet10 4761167
core: re-add empty chain insertion case
Raneet10 8260553
zero commit to trigger CI
Raneet10 50ff17a
core,eth/catalyst: report correct execution stats for stateless insert
Raneet10 8725094
CI: temp update for running stateless tests
Raneet10 78bf0b3
all: fix merge conflicts
Raneet10 fdb9798
zero commit to trigger CI
Raneet10 7ceca66
zero commit to trigger CI
Raneet10 98b5704
CI: try running on stateless branch
Raneet10 9e34d66
Revert "CI: try running on stateless branch"
Raneet10 699f35f
zero commit to trigger CI
Raneet10 7088e6d
core: add log for deferred exec of blocks due to invalid root err in …
Raneet10 029bc3e
core: changed log to debug
pratikspatil024 66a9185
core,eth,internal/ethapi: suppress error log for state sync when para…
Raneet10 6e57b3d
Merge branch 'raneet10/parallel-block-import' of github.com:maticnetw…
Raneet10 dc661b9
eth/filters: fix gomock
Raneet10 5b5e404
Merge branch 'develop' of github.com:maticnetwork/bor into raneet10/p…
Raneet10 b8e9fa8
eth: add missing configs
Raneet10 0b3ca1c
core: retry execution in parallel import for block validator errors
Raneet10 cfc6012
core: commit block before retrying failed execution
Raneet10 a788f8b
core: rm redundant witness in execResult
Raneet10 7fe2bc2
core: try flushing state db asap post execution
Raneet10 d8f87a2
Merge branch 'develop' of github.com:maticnetwork/bor into raneet10/p…
Raneet10 cf63cc3
core: add temp log when committing code
Raneet10 54541b3
core: enable retry for first block in batch
Raneet10 3bd7172
Revert "core: add temp log when committing code"
Raneet10 96367ee
core: cap workers spun
Raneet10 a1d857a
Revert "core: cap workers spun"
Raneet10 675bc24
core: ensure statedb cleanup
Raneet10 30a3179
core: add temp debug logs
Raneet10 2c4f840
core: add temp debug logs
Raneet10 3483398
Merge branch 'raneet10/parallel-block-import' of github.com:maticnetw…
Raneet10 29b3366
core: add temp log to track sidechain
Raneet10 174765f
core: add temp log for contract code in commitAndFlush
Raneet10 3c1bfec
core: add retry for all processing and internal state db errors
Raneet10 21443d9
core: add state db error validation during deferred exec
Raneet10 f09e2eb
core: add TestParallelStateless_ContractDeployedThenCalled
Raneet10 390fea0
Revert "core: add temp log for contract code in commitAndFlush"
Raneet10 cd7f338
Revert "core: add temp log to track sidechain"
Raneet10 dbe1292
Revert "core: add temp debug logs"
Raneet10 489c505
internal/cli: turn off parallel import by default
Raneet10 58816a6
Merge branch 'develop' of github.com:maticnetwork/bor into raneet10/p…
Raneet10 d23b70b
internal/cli: update flag identation
Raneet10 0b9d9b0
CI: update comment
Raneet10 884b8d3
zero commit to trigger CI
Raneet10 d5b7d45
internal/cli: rm witness prune flags
Raneet10 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
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.