Skip to content

Try another workaround to avoid deadlock when dispatching scheduled jobs #199

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

Merged
merged 2 commits into from
May 8, 2024

Conversation

rosa
Copy link
Member

@rosa rosa commented Apr 4, 2024

Instead of deleting these using the index on job_id, do the DELETE relying on the primary key.

Instead of deleting these using the index on `job_id`, do the DELETE relying on the
primary key.
@rosa rosa force-pushed the deadlock-workaround branch from d4d4a35 to e17ef7c Compare May 8, 2024 15:25
… test

In CI the DB is slower and we might end up with a worker that didn't have
a chance to finish deregistering.
@rosa rosa merged commit 023f610 into main May 8, 2024
8 checks passed
@rosa rosa deleted the deadlock-workaround branch May 8, 2024 17:43
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.

1 participant