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 to not assume state.casn isn't modified #150

Merged
merged 1 commit into from
Dec 10, 2023
Merged

Fix to not assume state.casn isn't modified #150

merged 1 commit into from
Dec 10, 2023

Conversation

polytypic
Copy link
Collaborator

@polytypic polytypic commented Dec 9, 2023

This fixes an internal issue caused by the release step modifying the casn field and causing is_cmp and is_cas to potentially return wrong answers. The fix makes sure not to continue after transaction has been determined. This only makes sure some internal assumptions hold and doesn't actually change external correctness.

@polytypic polytypic marked this pull request as ready for review December 9, 2023 18:01
@polytypic polytypic changed the title Fixes Fix to not assume state.casn isn't modified Dec 9, 2023
@polytypic polytypic marked this pull request as draft December 9, 2023 18:36
@polytypic polytypic marked this pull request as ready for review December 10, 2023 10:57
@polytypic polytypic merged commit 73a220d into main Dec 10, 2023
3 checks passed
@polytypic polytypic deleted the fixes branch December 10, 2023 11:00
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