[ 
https://issues.apache.org/jira/browse/AIRFLOW-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924822#comment-15924822
 ] 

Bolke de Bruin commented on AIRFLOW-977:
----------------------------------------

Please test with Airflow 1.8.0 (rc5), many fixes in this area.

> 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
>              Labels: easyfix
>
> 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