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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple concurrent Snapshot Readers #1776

Merged
merged 9 commits into from
May 4, 2024

Conversation

otoolep
Copy link
Member

@otoolep otoolep commented May 4, 2024

This allows multiple Snapshots readers to be opened, but still ensures that a single active writer blocks both readers and writes. It's possible that a node might have to send Snapshots to multiple other nodes concurrently, so this change allows that.

This is like a RWMutex, but doesn't block if the mutex is unavailable.
Instead it returns an error.
This allows multiple Snapshots readers to be opened, but still ensures
that a single active writer blocks both readers and writes. It's
possible that a node might have to send Snapshots to multiple other
nodes concurrently, so this change allows that.
@otoolep otoolep changed the title Better snapshot store sync via MRSW Support multiple concurrent Snapshot Readers May 4, 2024
@otoolep otoolep merged commit da597e8 into master May 4, 2024
17 of 19 checks passed
@otoolep otoolep deleted the better-snapshot-store-sync branch May 4, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant