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
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