zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Rosien <a...@rosien.net>
Subject Re: methods to figure out what causes an ephemeral node to be deleted
Date Fri, 02 Mar 2012 02:46:31 GMT
Also, this is running against a 3.3.3 cluster with a 3.3.4 client (to work
around the chroot client bug in 3.3.3, which I was told would only affect
the clients, not the server).

On Thu, Mar 1, 2012 at 6:43 PM, Adam Rosien <adam@rosien.net> wrote:

> I'm trying to track down the exact cause of an ephemeral node being
> deleted. I know it could be either (a) the session where the node was
> created has expired, or (b) some session, perhaps the same one that created
> the node, explicitly deletes the node. Is there a good way to figure out,
> client-side or server-side, the actual cause of a node deletion?
> Specifically, I have a log message like the following, and I want to know
> "where" it came from:
> 2012-03-01 17:02:44 [main-SendThread(blah:2181)] [DEBUG]
> [org.apache.zookeeper.ClientCnxn         ] - Got WatchedEvent
> state:SyncConnected type:NodeDeleted path:/blah/blah/blah for sessionid
> 0x333a2e75199161b
> Also, is the referenced session id the session id of a watch on the
> deleted node, or the session id of the session that deleted the node? I'm
> guessing the former.
> .. Adam

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message