hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahadev Konar <maha...@yahoo-inc.com>
Subject Re: event re-issue on reconnect?
Date Wed, 07 Jan 2009 03:09:05 GMT
Does onData mean a datawatch?
onConnect
> onData path: /foo, version: 4, data: '2333'
> onDisconnect
> onConnect
> onData path: /foo, version: 4, data: '2333'


Are these the sequence of events that you get on the client?

mahadev


On 1/6/09 5:03 PM, "Kevin Burton" <burton@spinn3r.com> wrote:

> I have an event watching a file... and if I restart the server I get this:
> 
> onConnect
> onData path: /foo, version: 4, data: '2333'
> onDisconnect
> onConnect
> onData path: /foo, version: 4, data: '2333'
> 
> It re-issues the same version of the file. I can of course watch for this in
> my code but it seems like a bug.
> 
> Shouldn't the client keep track of the stat of watches and not bubble up the
> same event on server reconnect?
> 
> Kevin


Mime
View raw message