ephraimbuddy commented on code in PR #59650:
URL: https://github.com/apache/airflow/pull/59650#discussion_r2660901745
##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -384,6 +384,17 @@ def ti_update_state(
)
if previous_state != TaskInstanceState.RUNNING:
+ # In HA, it's possible to receive a "late" finish/state update after
another
+ # component already moved the TI to a terminal state. Treat this as an
idempotent no-op to avoid
+ # crashing the process.
Review Comment:
So it looks like the earlier PR fixed this issue and I wasn't testing on the
right branch when I raised this. @pdellarciprete , can you confirm you are no
longer seeing this issue after applying the previous
fix(https://github.com/apache/airflow/pull/59639)
--
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]