You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/28 12:45:00 UTC

[jira] [Commented] (PHOENIX-6087) Phoenix Connection leak in UpgradeUtil.addViewIndexToParentLinks()

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

ASF GitHub Bot commented on PHOENIX-6087:
-----------------------------------------

virajjasani opened a new pull request #943:
URL: https://github.com/apache/phoenix/pull/943


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Phoenix Connection leak in UpgradeUtil.addViewIndexToParentLinks()
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-6087
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6087
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0, 4.15.0
>            Reporter: Chinmay Kulkarni
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: phoenix-hardening, quality-improvement
>             Fix For: 5.1.0, 4.16.0
>
>
> Inside UpgradeUtil.addViewIndexToParentLinks(), we assign a new Phoenix connection to the existing metaConn variable without closing the previous cloned tenant connection ([here|https://github.com/apache/phoenix/blob/1922895dfe5960dc025709b04acfaf974d3959dc/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java#L1206]). We should close the tenant-connection before re-initializing metaConn.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)