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

Remove FOR UPDATE SKIP LOCKED from job locking sql statement #288

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

bensheldon
Copy link
Owner

The FOR UPDATE SKIP LOCKED was introduced in #273.

  1. it never addressed this line:

    break :unlocked unless good_job&.executable?

  2. I hypothesize that it is causing lock contention on the good_jobs table (Problem with migrating database on 1.10.0 #287), which is preventing migrations without having to shut down the job workers.

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.

1 participant