: Thanks; I can definitely appreciate that Watchers (or more generally the : idea of chaining async callbacks) is usually a more suitable mechanism than : calling sync(). I've also seen some code patterns in which knowledge of
To be clear: i'm not suggesting that we *don't* need sync() calls anywhere, just that based on my knowledge of how we use ZK i wouldn't expect to see many sync() calls, ... if you see calls to getData() that are not inside of a Watcher callback, that smells like a potential bug ... but i would question if best solution to fixing any "getData() w/o sync()" code paths is really "add sync()" or if it's "move this code into a Watcher that then caches locally" -Hoss http://www.lucidworks.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org