curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McKenzie <cammcken...@apache.org>
Subject Re: PathChildrenCache leaks a thread ??
Date Tue, 19 Jan 2016 21:07:08 GMT
Have you called close() on the PathChildrenCache? This will close its
internal executor service which is running that thread.
cheers

On Wed, Jan 20, 2016 at 12:37 AM, Alvaro Gareppe <agareppe@gmail.com> wrote:

> I have a simple case where:
> 1.- I create a persistent node
> 2.- Create a pathChildrenCache and start it on it
> 3.- Create a child node (Syso the event OK)
> 4.- Delete the child node (Syso the event OK)
> 5.- Delete the persistent node (base of the cache)
>
> and after that the deamon thread : Curator-PathChildrenCache-0 is still
> running
>
> the same thing happpen if I close curator connection instead of deleting
> the node..
>
> How should I use it ?
>
>
> The version of curator I'm using is: 2.9.1
>
> I know that this is supposed to be fixed (
> https://issues.apache.org/jira/browse/CURATOR-27) but...
>
>
> --
> Ing. Alvaro Gareppe
> agareppe@gmail.com
>

Mime
View raw message