curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paweł Szymczyk (JIRA) <>
Subject [jira] [Commented] (CURATOR-163) Discovery doesn't remove services without instances in Zookeeper
Date Wed, 05 Nov 2014 19:48:34 GMT


Paweł Szymczyk commented on CURATOR-163:

Is Reaper notify ServiceCache that it removes the node? 

I noticed that after removing a node without an instances and i have active ServiceCache instance
related with this node I can not register new instance in ServiceCache anymore.

> Discovery doesn't remove services without instances in Zookeeper
> ----------------------------------------------------------------
>                 Key: CURATOR-163
>                 URL:
>             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

View raw message