You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/11/24 05:42:00 UTC

[jira] [Comment Edited] (PHOENIX-6834) Use Pooled HConnection for Server Side Upsert Select

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

Istvan Toth edited comment on PHOENIX-6834 at 11/24/22 5:41 AM:
----------------------------------------------------------------

While the CI job has aborted for some reason, my local test shows UpsertSelectIT failing with the test.

That's just the connection count, which is expected as we're keeping an HConnection in the pool upsert selects for each RS.

Going to check in detail.


was (Author: stoty):
While the CI job has aborted for some reason, my local test shows UpsertSelectIT failing with the test.

> 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)