[ 
https://issues.apache.org/jira/browse/AIRFLOW-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525582#comment-16525582
 ] 

ASF subversion and git services commented on AIRFLOW-2650:
----------------------------------------------------------

Commit b0061f1369636c86df87829b93d5ece582591e2a in incubator-airflow's branch 
refs/heads/master from [~ashb]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=b0061f1 ]

[AIRFLOW-2650] Mark SchedulerJob as succeed when hitting Ctrl-c

Without this fix it turns out that the job would
remain in the running
state.

This also sets things to failed in case of any
other exception.

Closes #3525 from ashb/scheduler-job-status


> SchedulerJob is never marked as succeded
> ----------------------------------------
>
>                 Key: AIRFLOW-2650
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2650
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>            Reporter: Ash Berlin-Taylor
>            Priority: Major
>             Fix For: 1.10.0
>
>
> The SchedulerJob rows are only ever marked success if {{SchedulerJob.run}}
> finishes cleanly -- this will only happy when max_runs or run_duration is 
> specified. Given this is not recommended anymore this means that 
> SchedulerJobs are never marked as anything other than running for most 
> people. (I have over 400 "running" jobs in my system)
> Noticed by [~jackjack10] in Gitter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to