Sounds like you need to create the znode as Ephemeral.
On 27/06/2011 17:33, Yosef Arraf wrote:
> My Name is Yosef and i'm facing a problem when one of my ZooKeeper
> Clients crash or shutdown (disconnected),
> i want to delete is is znode and make it as unavailable.
> Any one have any Idea that can help me to solve my problem?