hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton" <bur...@spinn3r.com>
Subject event re-issue on reconnect?
Date Wed, 07 Jan 2009 01:03:38 GMT
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

-- 
Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

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