Skip to content

Reaper will delete locks for running jobs #488

@yaoyi

Description

@yaoyi

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions