SamWheating commented on issue #13685:
URL: https://github.com/apache/airflow/issues/13685#issuecomment-767844852


   I haven't been able to reproduce this issue outside of our production 
environment, but after a little more investigation I think that our issue is 
related to https://github.com/apache/airflow/pull/13278#issuecomment-755218560.
   
   
   Here's my understanding thus far:
   
    - We were running mysqlclient 1.3.x which I believe led to incorrect values 
in the `DAG.run_type` field. 
   
   - this led to calculating the wrong dates for `next_dagrun` and 
`next_dagrun_create_after` as the value of most_recent_dag_runs was incorrect. 
   
   - This caused the scheduler to recreate old runs which then led to Duplicate 
Entry errors
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to