Michael Kotliar created AIRFLOW-977:
---------------------------------------

             Summary: Deadlocked DAG run with MySQL v5.7.17
                 Key: AIRFLOW-977
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-977
             Project: Apache Airflow
          Issue Type: Bug
          Components: DagRun
    Affects Versions: Airflow 1.7.1
         Environment: macOS Sierra 10.12.3, MySQL 5.7.17, Airflow 1.7.1.3
            Reporter: Michael Kotliar


When using MySQL 5.7.17 all DATETIME values are saved in DB using rounding, not 
truncating, like it was before in MySQL 5.5. This causes failing in 
is_queueable check for task, when its execution date was previously saved in DB 
rounded towards bigger value. It makes execution date to be bigger than 
datetime.now(). If all of the tasks from DAG have failed this check, the DAG 
becomes deadlocked.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to