You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Chinmay Kulkarni (Jira)" <ji...@apache.org> on 2020/08/19 20:01:00 UTC
[jira] [Created] (PHOENIX-6087) Phoenix Connection leak in
UpgradeUtil.addViewIndexToParentLinks()
Chinmay Kulkarni created PHOENIX-6087:
-----------------------------------------
Summary: 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: 4.15.0, 5.0.0
Reporter: Chinmay Kulkarni
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)