[
https://issues.apache.org/jira/browse/PHOENIX-5184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788425#comment-16788425
]
Thomas D'Silva commented on PHOENIX-5184:
-----------------------------------------
Would it be possible to create a new PhoenixConnection in the async method and
then just have it use the try with resources block, so it closed automatically?
> HBase and Phoenix connection leaks in Indexing code path, OrphanViewTool and
> PhoenixConfigurationUtil
> -----------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-5184
> URL: https://issues.apache.org/jira/browse/PHOENIX-5184
> Project: Phoenix
> Issue Type: Bug
> Reporter: Chinmay Kulkarni
> Assignee: Chinmay Kulkarni
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I was debugging a connection leak issue and ran into a few areas where there
> are connection leaks. I decided to take a broader look overall and see if
> there were other places where we leak connections and found some candidates.
> This is by no means an exhaustive search for connection leaks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)