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

No mechanism to release abandoned blocked jobs #33

Open
travismcchesney opened this issue Apr 16, 2018 · 0 comments
Open

No mechanism to release abandoned blocked jobs #33

travismcchesney opened this issue Apr 16, 2018 · 0 comments

Comments

@travismcchesney
Copy link
Contributor

It doesn't seem like there is any mechanism to release blocked jobs that have been abandoned by a scheduler.

I see that there is AbstractRedisStorage#releaseTriggersCron(), but it will only execute if the scheduler has stopped running jobs altogether. The scenario I'm thinking of is if a scheduler has some jobs locked, is then killed (or dies uncleanly), and is brought back up. In this case, the lastTriggersReleaseTime will be up-to-date, and any jobs that are blocked will remain so.

Is this an issue you see as worth addressing, or is there something I'm missing that would pick these up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant