You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jeremiah Lowin (JIRA)" <ji...@apache.org> on 2017/02/19 13:32:44 UTC
[jira] [Updated] (AIRFLOW-822) Close the connection before throwing
exception in BaseHook
[ 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)