eladkal commented on issue #10704:
URL: https://github.com/apache/airflow/issues/10704#issuecomment-975473221


   > It feels like a use case of DAG 
[versioning](https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-36+DAG+Versioning),
 with a flag to let scheduler/worker to kill the running tasks if they are not 
at the latest version.
   > 
   > @kaxil should be able to shed more light here.
   
   Regardless of versioning user might want to kill a process for diffrent 
reasons.
   
   We do have endpoint to change 
[DagRun](https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/update_dag_run_state)
 state I think this won't invoke the `on_kill()` method of the tasks that are 
currently running.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to