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

Race condition in submission fetching #123

Open
prateek2211 opened this issue Mar 31, 2020 · 0 comments
Open

Race condition in submission fetching #123

prateek2211 opened this issue Mar 31, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@prateek2211
Copy link
Member

Submission fetching involves read and write into lastfetched field. This could result in race condition where one thread writes to variable and another thread try to access this.
Add mutex to resolve this

@prateek2211 prateek2211 added the bug Something isn't working label Mar 31, 2020
@prateek2211 prateek2211 self-assigned this Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant