Re: Creating ephemeral nodes: First time returns ZNODEEXISTS

2009-09-01 Thread Patrick Hunt
No worries. Let us know if you have any other issues. Patrick Leonard Cuff wrote: Hi Patrick, Thank you for your reply. I owe you and the others on this list an apology. It turns out I was creating the node twice, which I discovered after writing a mini-program to demonstrate the problem ...

Re: Creating ephemeral nodes: First time returns ZNODEEXISTS

2009-08-31 Thread Leonard Cuff
Hi Patrick, Thank you for your reply. I owe you and the others on this list an apology. It turns out I was creating the node twice, which I discovered after writing a mini-program to demonstrate the problem and the mini-program didn't have the problem. That caused me to go back and look at

Re: Creating ephemeral nodes: First time returns ZNODEEXISTS

2009-08-31 Thread Patrick Hunt
Hi Leonard, Between 00:43:23,035 and 00:43:23,157 I see client session 0x123730dbe6e0001 get 15 "node exists" exceptions in a row. Are you expecting this? (ie are you attempting to create this node 15 times in a row or is this unexpected? I can't tell from the client snippet you included) A

Creating ephemeral nodes: First time returns ZNODEEXISTS

2009-08-31 Thread Leonard Cuff
I've just upgraded to ZooKeeper 3.2.0, testing the fix for ephemeral nodes disappearing correctly when the client process dies. I'm seeing some unexpected behavior: The first time I call zoo_create() to create an ephemeral node, it returns ZNODEEXISTS, even if the node didn't previously exist. It