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

Job queue does not uniquely assign jobs #62

Merged
merged 8 commits into from
Oct 11, 2023

Conversation

ISibboI
Copy link
Owner

@ISibboI ISibboI commented Oct 11, 2023

This contains just some other fixes now. It seems like the job queue did actually uniquely assign jobs.

We first query for a job that is not running, and then set it to running. This would mean that if two simultaneous transactions would set the same job to running, then one of them would encounter a serialisation failure.

@ISibboI ISibboI linked an issue Oct 11, 2023 that may be closed by this pull request
@ISibboI ISibboI self-assigned this Oct 11, 2023
@ISibboI ISibboI added the bug Something isn't working label Oct 11, 2023
@ISibboI ISibboI merged commit 8bd1a6c into main Oct 11, 2023
10 checks passed
@ISibboI ISibboI deleted the 53-job-queue-does-not-uniquely-assign-jobs branch October 11, 2023 08:05
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 this pull request may close these issues.

Job queue does not uniquely assign jobs
1 participant