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

E2E encryption can encounter ordering issues with high-volume concurrent writes #659

Closed
plorenz opened this issue Jan 15, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@plorenz
Copy link
Member

plorenz commented Jan 15, 2025

If there are high volume concurrent writes the following can happen.

There are two possibilities

  1. The encryption stream isn't protected, so it's possible that concurrent writes are getting messed up there.
  2. The encryption and the queue are two separate steps so it's possible that write 1 could get encrypted first but queued second, thus causing an ordering issue in the encryption stream.
@plorenz plorenz self-assigned this Jan 15, 2025
@plorenz plorenz added the bug Something isn't working label Jan 15, 2025
plorenz added a commit that referenced this issue Jan 15, 2025
Sync writes using E2E encryption so writes can't get out of order. Fixes #659
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant