robinedwards commented on a change in pull request #19130:
URL: https://github.com/apache/airflow/pull/19130#discussion_r733605871



##########
File path: airflow/timetables/interval.py
##########
@@ -83,7 +83,12 @@ def next_dagrun_info(
         else:
             # There's a previous run. Create a data interval starting from when
             # the end of the previous interval.
-            start = last_automated_data_interval.end
+            if restriction.catchup:
+                start = last_automated_data_interval.end
+            else:
+                # Catchup is False, we want the next run or latest which ever 
is greatest
+                start = max(last_automated_data_interval.end, earliest)

Review comment:
       Hmm from what you have described that's got me wondering. What would 
happen if the start_date was brought backwards in time? How would the earlier 
dagruns get scheduled?




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