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

ASF GitHub Bot commented on AIRFLOW-1383:
-----------------------------------------

feng-tao commented on pull request #2420: [AIRFLOW-1383] Add no_dag_reset 
option to airflow clear command
URL: https://github.com/apache/airflow/pull/2420
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> CLI clear command always resets DAG runs
> ----------------------------------------
>
>                 Key: AIRFLOW-1383
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1383
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: cli
>    Affects Versions: 1.8.0
>            Reporter: Gordon Ball
>            Priority: Minor
>
> The CLI command {{airflow clear}} does not expose any way to set the 
> {{reset_dag_runs}} parameter of the underlying {{DAG.clear()}} method.
> This means that {{airflow clear}} will always cause affected DAG runs to be 
> set to {{state=RUNNING}}, and immediately try and re-run the cleared tasks. 
> In some circumstances it might not be desirable to immediately re-run 
> everything.
> I would propose to add a new argument to {{airflow clear}} 
> ({{no_dag_reset}}?) which overrides the default.



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

Reply via email to