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

Viraj Jasani updated PHOENIX-6087:
----------------------------------
    Attachment: PHOENIX-6087.4.x.000.patch

> 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
>
>         Attachments: PHOENIX-6087.4.x.000.patch, PHOENIX-6087.master.000.patch
>
>
> 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)

Reply via email to