uranusjr commented on issue #19304:
URL: https://github.com/apache/airflow/issues/19304#issuecomment-954614029


   (Copying the conversation on Slack)
   
   > The cause is when the scheduler sees data_interval=None it goes "oh this 
doesn't have a data interval, so if it's scheduled it must have been done 
before 2.2". But it forgot to check the "if it's scheduled" part and assumes it 
is.
   
   So `DAG.get_next_data_interval()` should check `DagModel.next_dagrun` first, 
and only try to get an automated data interval if that value is not None (i.e. 
if there is actually a next DAG run being 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