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.

@bensheldon bensheldon added this to In progress in Backlog Jun 30, 2021
@bensheldon bensheldon merged commit a4645cb into main Jun 30, 2021
@bensheldon bensheldon deleted the remove_update_lock branch June 30, 2021 14:02
Backlog automation moved this from In progress to Done Jun 30, 2021
@bensheldon bensheldon added the bug Something isn't working label Jul 25, 2021
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
Backlog
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant