Parallel 2.0 dev: Debug Logs#15
Open
setunapo wants to merge 2 commits intoparallel_2.0_dev_backup_0420from
Open
Parallel 2.0 dev: Debug Logs#15setunapo wants to merge 2 commits intoparallel_2.0_dev_backup_0420from
setunapo wants to merge 2 commits intoparallel_2.0_dev_backup_0420from
Conversation
059b12d to
6429314
Compare
9d2f607 to
be5e6eb
Compare
db72bc5 to
594eac2
Compare
06561f3 to
8d29534
Compare
d71911a to
fcf9572
Compare
1.features of 2.0:
** Streaming Pipeline
** Implement universal unconfirmed state db reference, try best to get account object state.
** New conflict detect, check based on what it has read.
** Do parallel KV conflict check for large KV read
** new Interface StateDBer and ParallelStateDB
** shared memory pool for parallel objects
** use map in sequential mode and sync.map in parallel mode for concurrent StateObject access
** replace DeepCopy by LightCopy to avoid redundant memory copy of StateObject
** do trie prefetch in advance
** dispatcher 2.0
Static Dispatch & Dynamic Dispatch
Stolen mode for TxReq when a slot finished its static dispatched tasks
RealTime result confirm in Stage2, when most if the tx have been executed at least once
Make it configurable
2.Handle of corner case:
** don't panic if there is anything wrong reading state
** handle system address, skip its balance check
** handle WBNB contract to reduce conflict rate by balance make up
WBNB balance makeup by GetBalanceOpCode & depth
add a lock to fix WBNB make up concurrent crash
add a new interface GetBalanceOpCode
fcf9572 to
ac492c6
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
add a description of your changes here...
Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
Notable changes: