zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject detecting child changes reliably
Date Mon, 30 Dec 2013 19:15:10 GMT

When a child watcher is fired, it can happen that when the children are
read, a deleted node is already added back. So, from the list of children,
it's as if nothing has changed. However, it could be important for an app
to know in this case that something has changed. I could include some
metadata per node and read every child node each. However, reading the data
for every child could be expensive. What's best way to handle this case?



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