morooshka opened a new pull request, #45224:
URL: https://github.com/apache/airflow/pull/45224

   Fixed the endless sensor reschedule
   
   Rescheduling mode. In case of unhandled exception occurred during the 
sensor's first try run the rescheduling attempt is not saved into DB because of 
the full transaction rollback. the "first try" here can be also the first one 
after clearing the task. In that case the start moment for calculating the task 
running duration should be taken as:
    - In case of first retry after exception: current system time
    - The first successfully saved to DB rescheduled tries reschedule date for 
the following  rescheduled runs
   
   closes: #45050 
   
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   ---
   
   


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