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

Istvan Toth commented on PHOENIX-6834:
--------------------------------------

The CQSI objects are pooled, but the PhoenixConnections (obviously) are not.
Pushed the leak fix to the PR.

> Use Pooled HConnection for Server Side Upsert Select
> ----------------------------------------------------
>
>                 Key: PHOENIX-6834
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6834
>             Project: Phoenix
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 5.2.0, 5.1.2
>            Reporter: Istvan Toth
>            Priority: Major
>
> We're creating a new HConnection every time we do a server side upsert select.
> We should be using QueryUtil.getConnectionOnServer() which provides pooling.
> Found by [~sergey.soldatov] .



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to