Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-1665

Airflow webserver/scheduler don't handle database disconnects (mysql)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.10.0
    • Component/s: None

      Description

      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)")

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vkumar17 Vasanth Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: