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 thread race condition in SynchronousMetricStorage #540

Conversation

nachoBonafonte
Copy link
Member

@nachoBonafonte nachoBonafonte commented May 9, 2024

Protect the aggregatorHandles with a concurrent queue allowing concurrent access to recorders and exclusive access on collection.

Fixes #532

@nachoBonafonte nachoBonafonte merged commit d4f56d1 into open-telemetry:main Jun 5, 2024
5 checks passed
@nachoBonafonte nachoBonafonte deleted the fix-SynchronousMetricStorage-thread-race branch August 22, 2024 15:31
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.

SynchronousMetricStorage thread issue
2 participants