Hi Scott,

In TreeCache wasDeleted(), there is a call to clear watchers. When was this 
added? I’m trying to merge into CURATOR-3.0 and the new behavior would be to 
remove the watcher via the ZK API. Is this correct or should the watcher stay? 
Please advise. The new code would be:

stat.getAndSet(null);
data.getAndSet(null);
client.watches().remove(this).ofType(WatcherType.Any).inBackground().forPath(path);
     // NEW

Reply via email to