[ 
https://issues.apache.org/jira/browse/AIRFLOW-3630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738639#comment-16738639
 ] 

ASF GitHub Bot commented on AIRFLOW-3630:
-----------------------------------------

kaxil commented on pull request #4451: [AIRFLOW-3630] Cleanup of generated 
connection is done also on exception
URL: https://github.com/apache/airflow/pull/4451
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


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