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

Kaxil Naik resolved AIRFLOW-3630.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.2

> Google Cloud SQL query Operator cleanup will not close the connection on error
> ------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-3630
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3630
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Jarek Potiuk
>            Assignee: Jarek Potiuk
>            Priority: Blocker
>             Fix For: 1.10.2
>
>
> When there is an error during Cloud SQL Query, there is a cleanup in 
> post_execute_method. This cleanup is supposed to delete the connection, 
> however it turns out that post_execute is not executed when execute() method 
> throws an error (it was bad assumption). 
> The connection should be closed always in finally clause.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to