[
https://issues.apache.org/jira/browse/PHOENIX-5801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chinmay Kulkarni updated PHOENIX-5801:
--------------------------------------
Description:
When you create a view with a where condition, we open a connection-less
Phoenix connection, which is never closed. This is a connection leak and also
unnecessarily contributes to the GLOBAL_OPEN_PHOENIX_CONNECTIONS metric (which
is incremented on opening any PhoenixConnection).
was:
When you create a view with a where condition, we open a connection-less
Phoenix connection, which is never closed. This is a connection leak which
reduces available connections for end-clients when throttling is enabled,
amongst other problems, so we should close the connection.
> Connection leak when creating a view with a where condition
> -----------------------------------------------------------
>
> Key: PHOENIX-5801
> URL: https://issues.apache.org/jira/browse/PHOENIX-5801
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.0.0, 4.15.0
> Reporter: Chinmay Kulkarni
> Assignee: Chinmay Kulkarni
> Priority: Major
> Fix For: 5.1.0, 4.16.0
>
> Attachments: PHOENIX-5801-4.x-v1.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When you create a view with a where condition, we open a connection-less
> Phoenix connection, which is never closed. This is a connection leak and also
> unnecessarily contributes to the GLOBAL_OPEN_PHOENIX_CONNECTIONS metric
> (which is incremented on opening any PhoenixConnection).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)