uranusjr opened a new pull request #19821:
URL: https://github.com/apache/airflow/pull/19821


   When using a sensor in reschedule mode, the poke_interval is used to 
calculate a new date to run the task. However, user errors may easily cause the 
entire scheduler to crash if that new date goes over MySQL's TIMESTAMP limit, 
which causes the database to return NULL later.
   
   This patch adds some very rudimentary checks to avoid these user errors as 
soon as possible. The checks are far from bullet-proof; to be actually 
resillient, Airflow should really migrate away from using the TIMESTAMP field 
altogether, which is a big but important topic on its own and needs to be 
handled in the next ten years.
   
   Close #19801.


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