[
https://issues.apache.org/jira/browse/CURATOR-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198565#comment-14198565
]
Jordan Zimmerman commented on CURATOR-163:
------------------------------------------
The recipe doesn't currently try to clean up old parent nodes. Have you looked
at Reaper and ChildReaper? http://curator.apache.org/utilities.html
> 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)