Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Parallel Executor] MvHashMapView should not be sync #10177

Open
gelash opened this issue Feb 27, 2022 · 0 comments
Open

[Parallel Executor] MvHashMapView should not be sync #10177

gelash opened this issue Feb 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@gelash
Copy link

gelash commented 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

@gelash gelash added the enhancement New feature or request label Feb 27, 2022
@gelash gelash changed the title [Feature Request] [Parallel Executor] MvHashMapView should not be sync [Parallel Executor] MvHashMapView should not be sync Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant