You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Paweł Szymczyk (JIRA)" <ji...@apache.org> on 2014/11/05 21:03:33 UTC

[jira] [Comment Edited] (CURATOR-163) Discovery doesn't remove services without instances in Zookeeper

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

Paweł Szymczyk edited comment on CURATOR-163 at 11/5/14 8:03 PM:
-----------------------------------------------------------------

I try to deal with it and I prepare pull request: 
https://github.com/apache/curator/pull/52


was (Author: pawel.szymczyk):
I try to deal with it and i prepare pull request: 
https://github.com/apache/curator/pull/52

> Discovery doesn't remove services without instances in Zookeeper
> ----------------------------------------------------------------
>
>                 Key: CURATOR-163
>                 URL: https://issues.apache.org/jira/browse/CURATOR-163
>             Project: Apache Curator
>          Issue Type: Bug
>            Reporter: Paweł Szymczyk
>            Assignee: Jordan Zimmerman
>
> After few months using discovery my zookeeper is flooded by many not used service nodes without instances. 
> I try to remove these nodes manualy but i have many ServiceCache instances in memory that doesn't work without this path.
> Example flow:
> 1. Register service in discovery
> 2. Unregister
> 3. Remove node without instances from Zookeeper
> 4. Try to register again - node with instance is present in Zookeeper but ServiceCache returns empty list of instances.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)