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

TraceManager has shared resources vulnerable to race conditions #9

Open
viniarck opened this issue Feb 7, 2022 · 0 comments
Open
Labels
priority_medium Medium priority

Comments

@viniarck
Copy link
Member

viniarck commented Feb 7, 2022

TraceManager has some shared resources, such as _id that's vulnerable to race conditions, in this part for instance, since method is used in the PUT /trace endpoint that can have multiple threads entering, and if they hit the same increment one of the ids will be overwritten. We'll need to protect this shared resource access.

@viniarck viniarck added the priority_medium Medium priority label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority_medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant