Bisk1 commented on issue #33661:
URL: https://github.com/apache/airflow/issues/33661#issuecomment-1692295680

   @potiuk ok, thanks for explanation.
   I looked at the code again and now I can think we handle it with simpler 
change, just adding RESTARTING state to the list of resettable states that are 
used by scheduler when its `adopt_or_reset_orphaned_tasks().` RUNNING tasks are 
also handled this way and it doesn't seem to cause any problems with race 
conditions because by then they are either dead or can be successfully adopted 
- same case with RESTARTING tasks I assume.


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