Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Unexpected NodeCreated?


Copy link to this message
-
Re: Unexpected NodeCreated?
Cesar,
This is expected behavior.

mahadev

2011/11/16 César Álvarez Núñez <[EMAIL PROTECTED]>:
> 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.
>