xBis7 commented on code in PR #49180:
URL: https://github.com/apache/airflow/pull/49180#discussion_r2064069025
##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -873,11 +875,11 @@ def process_executor_events(
ti.pid,
)
- if (active_ti_span := cls.active_spans.get(ti.key)) is not None:
+ if (active_ti_span := cls.active_spans.get("ti:" + ti.id)) is not
None:
cls.set_ti_span_attrs(span=active_ti_span, state=state, ti=ti)
# End the span and remove it from the active_spans dict.
active_ti_span.end(end_time=datetime_to_nano(ti.end_date))
- cls.active_spans.delete(ti.key)
+ cls.active_spans.delete("ti:" + ti.id)
Review Comment:
Fixed.
--
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]