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

MONGOID-5622 Reset the atomic operation state on reload (backport of #5656 to 8.0-stable) #5658

Merged

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Jul 5, 2023

This backports #5656 from master to 8.0-stable.

Reloading a document was not resetting the atomic operation state, which meant the reloaded might object might still believe there were changes to persist. This makes sure that state is reset on reload.

ref: https://jira.mongodb.org/browse/MONGOID-5622

@jamis jamis merged commit 14339aa into mongodb:8.0-stable Jul 5, 2023
15 of 27 checks passed
@jamis jamis deleted the 5622-reset-atomic-operations-backport-8.0 branch July 5, 2023 19:09
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