ephraimbuddy commented on issue #18011:
URL: https://github.com/apache/airflow/issues/18011#issuecomment-922545376


   > Trying to get to a reproducible step here...
   > 
   > Is there an existing "unit" test (or could you help me write a unit test) 
for:
   > 
   > 1. A -> B dag
   > 2. A set to fail with retries more than 1
   > 
   > And then see if the failure & retry handlers do what I think they're 
doing? That is:
   > 
   > 1. A set to failed
   > 2. B set to upstream_failed
   > 3. A retries
   > 4. B is untouched
   > 5. A succeeds
   > 6. B left in upstream_failed
   
   It's not supposed to set B to upstream_failed if A has retries. What I 
believe happened is that the executor reported that A has failed but A is still 
queued in Scheduler. Currently, A is failed directly which we are trying to fix 
at #17819.
   
   You can temporarily add a patch that removes this two lines:
   
https://github.com/apache/airflow/blob/2b80c1edec85fb2b0312b6ae7f415c6f744e322e/airflow/jobs/scheduler_job.py#L654-L655
   and wait for #17819 to be fixed. 
   


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