You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/22 12:29:01 UTC

[GitHub] [airflow] eladkal commented on issue #10704: Unable to Stop / Kill the currently running Airflow DAG programmatically.

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org