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

atlas: fix race condition for QueryIndex #1148

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

brharrington
Copy link
Contributor

Updates can happen concurrently with reads. This can result in some of the volatile variables being set to null after the null check occurs. Now they will get copied to a local reference before being used for reads.

Updates can happen concurrently with reads. This can
result in some of the volatile variables being set to
`null` after the `null` check occurs. Now they will get
copied to a local reference before being used for reads.
@brharrington brharrington added this to the 1.7.18 milestone Aug 2, 2024
@brharrington brharrington merged commit b050f12 into Netflix:main Aug 2, 2024
1 check passed
@brharrington brharrington deleted the idx-fix branch August 2, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant