airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Lowin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-822) Close the connection before throwing exception in BaseHook
Date Sun, 19 Feb 2017 13:32:44 GMT

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

Jeremiah Lowin updated AIRFLOW-822:
-----------------------------------
    Fix Version/s:     (was: 1.8.1)
                   1.9.0

> Close the connection before throwing exception in BaseHook
> ----------------------------------------------------------
>
>                 Key: AIRFLOW-822
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-822
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>            Reporter: Fokko Driesprong
>             Fix For: 1.9.0
>
>
> Hi Guys,
> The basehook contains functionality to retrieve connections from the database. If a connection
doesn't exists it will throw an exception. This exception will be thrown before the connection
to the database is closed. Therefore the session to the db might stay open.
> Cheers, Fokko



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

Mime
View raw message