You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Saksham Gangwar (Jira)" <ji...@apache.org> on 2020/08/14 16:31:00 UTC

[jira] [Updated] (PHOENIX-6078) Remove Internal Phoenix Connections from parent LinkedQueue when closed

     [ https://issues.apache.org/jira/browse/PHOENIX-6078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saksham Gangwar updated PHOENIX-6078:
-------------------------------------
    Description: 
In https://issues.apache.org/jira/browse/PHOENIX-5872

We started maintaining parent-child relationships between phoenix connections to close those connections. But after closing those child connections we should be removing them from the Queue which is being maintained for the same.

Here:

[https://github.com/apache/phoenix/blob/affa9e889efcc2ad7dac009a0d294b09447d281e/phoenix-core/src/main/java/org/apache/phoenix/compile/MutatingParallelIteratorFactory.java#L114]

 

If not removed from the queue, and if the parent connection is being reused: we are observing the OOM issue on the container side during the mapper run.

 

  was:
3 part approach:

1 don't count internal phoenix connections toward the client limit.

2 count internal phoenix connections toward a newly defined limit

3 track parent and child relationships between connections to close those connections


> Remove Internal Phoenix Connections from parent LinkedQueue when closed
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-6078
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6078
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.3, 4.x
>            Reporter: Saksham Gangwar
>            Assignee: Daniel Wong
>            Priority: Major
>             Fix For: 4.16.0
>
>
> In https://issues.apache.org/jira/browse/PHOENIX-5872
> We started maintaining parent-child relationships between phoenix connections to close those connections. But after closing those child connections we should be removing them from the Queue which is being maintained for the same.
> Here:
> [https://github.com/apache/phoenix/blob/affa9e889efcc2ad7dac009a0d294b09447d281e/phoenix-core/src/main/java/org/apache/phoenix/compile/MutatingParallelIteratorFactory.java#L114]
>  
> If not removed from the queue, and if the parent connection is being reused: we are observing the OOM issue on the container side during the mapper run.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)