You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ry Walker (JIRA)" <ji...@apache.org> on 2019/08/11 22:09:00 UTC

[jira] [Assigned] (AIRFLOW-1665) Airflow webserver/scheduler don't handle database disconnects (mysql)

     [ https://issues.apache.org/jira/browse/AIRFLOW-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ry Walker reassigned AIRFLOW-1665:
----------------------------------

    Assignee: Ry Walker  (was: zgl)

> Airflow webserver/scheduler don't handle database disconnects (mysql)
> ---------------------------------------------------------------------
>
>                 Key: AIRFLOW-1665
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1665
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Vasanth Kumar
>            Assignee: Ry Walker
>            Priority: Major
>              Labels: database, reconnect
>             Fix For: 1.10.0
>
>
> Airflow webserver & scheduler don't handle database disconnects.  The process appear to error out and either exit or are left in an off state.  This was observed when using mysql.
> I don't see any database reconnect configuration or code.
> Stack tace for scheduler:
>   File "...../MySQLdb/connections.py", line 204, in __init__
>     super(Connection, self).__init__(*args, **kwargs2)
> sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (2002, "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)")



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)