[
https://issues.apache.org/jira/browse/PHOENIX-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell updated PHOENIX-7645:
-----------------------------------------
Description:
HighAvailabilityGroup uses a LoadingCache to create and manage CuratorFramework
instances for access to ZooKeeper.
In HighAvailabilityGroup#getCurator, the CuratorFramework instance may have
some issue trying to connect to ZooKeeper. If the connection fails the
CuratorFramework instance is not closed and leaks. There is a ZooKeeper object
associated with each CuratorFramework instance that also leaks, accumulating ZK
connections that continue to try to connect for a while, and leak the
associated ZK client send and event threads.
was:
HighAvailabilityGroup uses a LoadingCache to create and manage CuratorFramework
instances for access to ZooKeeper.
In HighAvailabilityGroup#getCurator, the CuratorFramework instance may have
some issue trying to connect to ZooKeeper. If the connection fails the
CuratorFramework instance is not closed and leaks.
> HighAvailabilityGroup can leak zookeeper connections
> ----------------------------------------------------
>
> Key: PHOENIX-7645
> URL: https://issues.apache.org/jira/browse/PHOENIX-7645
> Project: Phoenix
> Issue Type: Bug
> Reporter: Andrew Kyle Purtell
> Priority: Major
>
> HighAvailabilityGroup uses a LoadingCache to create and manage
> CuratorFramework instances for access to ZooKeeper.
> In HighAvailabilityGroup#getCurator, the CuratorFramework instance may have
> some issue trying to connect to ZooKeeper. If the connection fails the
> CuratorFramework instance is not closed and leaks. There is a ZooKeeper
> object associated with each CuratorFramework instance that also leaks,
> accumulating ZK connections that continue to try to connect for a while, and
> leak the associated ZK client send and event threads.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)