You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
we currently have many long-running jobs, which may take 10 - 60 minutes each, and use until_executed lock, but reaper cleans up locks for running jobs, and allow same jobs enqueued, and this also blocks the reaping for real orphans
Expected behavior
same jobs should not be enqueued after reaping
reaper should not clean up the locks for any running jobs if the lock type is while_executing or until_executed
The text was updated successfully, but these errors were encountered:
Oof, I think it is a little more complicated than that. I believe we need to check if the job is checked out by any worker and if so skip cleaning the job.
Describe the bug
we currently have many long-running jobs, which may take 10 - 60 minutes each, and use until_executed lock, but reaper cleans up locks for running jobs, and allow same jobs enqueued, and this also blocks the reaping for real orphans
Expected behavior
same jobs should not be enqueued after reaping
reaper should not clean up the locks for any running jobs if the lock type is while_executing or until_executed
The text was updated successfully, but these errors were encountered: