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/01/23 15:26:44 UTC

[GitHub] [airflow] ghostbody commented on issue #19767: dag callbacks are missed sometimes

ghostbody commented on issue #19767:
URL: https://github.com/apache/airflow/issues/19767#issuecomment-1019507616


   We rewrite our dag logic and replace the callback by a task. (as for `on_failure_hook`, we use a task with `one_failed`). More Information: https://airflow.apache.org/docs/apache-airflow/stable/concepts/dags.html#trigger-rules
   
   Callbacks are unreliable as we tought. There are three reasons:
   
   1. Callback executions are not logged to dag or dag_run which is hard to locate.
   2. Callbacks can not be retried even when they fail.
   3. Sometimes, they are missed.
   
   Hope this help you~ @jpradass 
   


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