zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@hortonworks.com>
Subject Re: Unexpected NodeCreated?
Date Wed, 16 Nov 2011 19:34:22 GMT
Cesar,
This is expected behavior.

mahadev

2011/11/16 César Álvarez Núñez <cesar.alvarez.nunez@gmail.com>:
> Hi all,
>
> I'd like to know if the next flow is right?
>
>   1. Create Ephemeral Sequential at "/parent/" > OK [/parent/0000000000]
>   2. Remove zpath [/parent/0000000000] > OK
>   3. exists(/parent/0000000000,true,null) > NONODE
>   4. Remove zpath [/parent] > OK
>   5. Create Persistent zpath [/parent] > OK
>   6. Create Ephemeral Sequential at "/parent/" > OK [/parent/0000000000]
>   7. EventType.NodeCreated [/parent/0000000000] triggered.
>
> Is it valid to receive a "NodeCreated" event or watcher should had been
> removed with parent zPath removal?
>
> BR,
> /César.
>

Mime
View raw message