ephraimbuddy commented on code in PR #25531:
URL: https://github.com/apache/airflow/pull/25531#discussion_r937721908
##########
airflow/models/dagrun.py:
##########
@@ -1183,6 +1183,14 @@ def _find_missing_task_indexes(
existing_indexes[task].append(ti.map_index)
task.run_time_mapped_ti_count.cache_clear() # type:
ignore[attr-defined]
new_length = task.run_time_mapped_ti_count(self.run_id,
session=session) or 0
+
+ if ti.map_index >= new_length and new_length > 0:
Review Comment:
Yeah, not needed. I was taking clue from
_check_for_removed_or_restored_tasks but I see now that it's not needed
--
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]