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

Fix generation race condition with sync storage #2638

Merged
merged 5 commits into from
Jul 23, 2024

Conversation

ealmloff
Copy link
Member

This PR fixes a race condition with generations in sync storage. It also removes the check generations flag to simplify the crate and removes configs from all public APIs

Fixes #2636

@ealmloff ealmloff added bug Something isn't working breaking This is a breaking change generation box Related to the generational box crate labels Jul 17, 2024
@ealmloff ealmloff marked this pull request as ready for review July 17, 2024 19:52
@jkelleyrtp jkelleyrtp merged commit c7c0f44 into DioxusLabs:main Jul 23, 2024
9 of 10 checks passed
@ealmloff ealmloff deleted the generational-box-sync-race branch July 23, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This is a breaking change bug Something isn't working generation box Related to the generational box crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GenerationalBox's validation with SyncStorage is a TOCTOU race
2 participants