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 2022/12/05 07:41:18 UTC

[GitHub] [airflow] Bowrna commented on issue #27614: Double execution of failure callback for task

Bowrna commented on issue #27614:
URL: https://github.com/apache/airflow/issues/27614#issuecomment-1336876079

   @potiuk I will check if this is getting executed twice in "normal" circumstances / complex error scenarios as you mentioned.
   
   My understanding from reading the documentation was that the failure callback has to be executed in all cases. 
   ```
   Generally speaking - yes the callback can be executed by both task running (when task CAN execute callback) and by DagFileProcessor (when task callback cannot be executed in task - for example when task was forcefully killed).
   
   ```
   
   When the execution is failed during the run, or the task is forcefully killed, I thought a failure callback for the task will be invoked as there is no mention of this one in the documentation. I can verify this part and document it. 


-- 
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