vandonr-amz commented on issue #21867:
URL: https://github.com/apache/airflow/issues/21867#issuecomment-1675538137

   If I don't cancel B, can I still start a new run of A while it finishes the 
previous try ? And D after that ? That might be greedy, but it'd save time.
   
   It also means that it's more complicated than just handling it in 
`TaskInstance.handle_failure` like previously suggested.
   
   - before a task starts, we need to check with the task group if it's allowed 
to start (if there was a failure and retries are possible, then we don't start)
   - after a task ends (any status), we have to check all task group children, 
and if any failed AND none are running, then trigger the retry
   
   Also, what status should tasks have when their task group is going to be 
retried ? Their last know status ? (succeeded, failed, ...) ? Or 
`up_for_retry`, erasing the previous status ?


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