You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Michael Kotliar (JIRA)" <ji...@apache.org> on 2017/03/13 22:01:41 UTC
[jira] [Created] (AIRFLOW-977) Deadlocked DAG run with MySQL
v5.7.17
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)