You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MvHashMapView is used by only a single thread during parallel execution to interface with the multi-version data-structure and capture the read set and dependencies. It currently has to be Sync due to some StateSync/VersionedView trait bounds.
Then read_dependency member can be RefCell and captured reads can also be a RefCell instead of a mutex.
Motivation
Is your feature request related to a problem? Please describe.
Pitch
Describe the solution you'd like
Describe alternatives you've considered
Are you willing to open a pull request? (See CONTRIBUTING)
Additional context
The text was updated successfully, but these errors were encountered:
gelash
changed the title
[Feature Request] [Parallel Executor] MvHashMapView should not be sync
[Parallel Executor] MvHashMapView should not be sync
Feb 27, 2022
馃殌 Feature Request
MvHashMapView is used by only a single thread during parallel execution to interface with the multi-version data-structure and capture the read set and dependencies. It currently has to be Sync due to some StateSync/VersionedView trait bounds.
Then read_dependency member can be RefCell and captured reads can also be a RefCell instead of a mutex.
Motivation
Is your feature request related to a problem? Please describe.
Pitch
Describe the solution you'd like
Describe alternatives you've considered
Are you willing to open a pull request? (See CONTRIBUTING)
Additional context
The text was updated successfully, but these errors were encountered: