-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
The job runner does not understand cancelled jobs #531
Comments
I didn't pay attention to this one. |
Looking at places where |
I propose a fix for the jobrunner in #533 |
@guewen if you have a moment, I'll welcome your advice on the effect of the cancelled states on the job dependencies mechanism. Maybe it's fine but I'm not entirely sure it was taken into account when porting the cancelled state feature from 12 to 14. |
Hmm yeah I'm not sure the current situation is alright. Cancelling a parent job leaves a situation where dependent jobs will never be executed I think. We have to cancel them or set them to done, which is ultimately the same. I wonder if cancelling a job in a graph shouldn't cancel all the dependent jobs or maybe even all the graph's jobs (this can be explained in the cancel wizard)? |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Module
queue_job
Describe the bug
Since #347, jobs have a
cancelled
state.However the job runner does not understand this state.
queue/queue_job/jobrunner/channels.py
Lines 1048 to 1061 in 0bf3a1a
This may lead to cancelled job filling up channels forever.
The text was updated successfully, but these errors were encountered: