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

Re-introduce RwLock around sled::Db #162

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Re-introduce RwLock around sled::Db #162

merged 2 commits into from
Apr 21, 2023

Conversation

gferon
Copy link
Collaborator

@gferon gferon commented Apr 21, 2023

Since we receive events asynchronously in the websocket, and spawn decryption, it is very important that we guard concurrent decryption as it can perform write operations on the store.

This is probably the reason of session storage corruption like reported in #158.

Since we receive events asynchronously in the websocket, and spawn decryption,
it is very important that we guard concurrent decryption as it can perform
write operations on the store.
@gferon gferon enabled auto-merge (squash) April 21, 2023 19:59
@gferon gferon disabled auto-merge April 21, 2023 20:02
@gferon gferon enabled auto-merge (squash) April 21, 2023 20:03
@gferon gferon disabled auto-merge April 21, 2023 20:03
@gferon gferon enabled auto-merge (squash) April 21, 2023 20:04
@gferon gferon added this to the 0.5.2 milestone Apr 21, 2023
@gferon gferon merged commit c2aa0ba into main Apr 21, 2023
@gferon gferon deleted the sled-rwlock branch April 21, 2023 20:10
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.

1 participant