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

   It was observed that there are moments where the TI tries endpoint returns 
duplicate TaskInstance. I have observed this to happen when the TI is in 
up_for_retry state.
   
   When the TI is in up_for_retry state, we have already recorded the previous 
try in TI history and the TI try_number has not incremented at this time, so we 
must exclude this recorded TI from the taskinstance tries endpoint. We know the 
TI because its state is in up_for_retry, so we filter TIs with up_for_retry 
state when querying for the task instance tries.
   
   Closes: #41765
   (cherry picked from commit 4bc1257df4bf1f7391ad8bca3b10d294b2d92e7a)
   
   


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