dlmarion commented on code in PR #5256: URL: https://github.com/apache/accumulo/pull/5256#discussion_r1927678303
########## core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ZooCache.java: ########## @@ -554,4 +616,32 @@ public Optional<ServiceLockData> getLockData(ServiceLockPath path) { return ServiceLockData.parse(lockData); } + @SuppressWarnings("deprecation") + @Override + public void process(WatchedEvent event) { + // ZooCache implements the Watcher interface so that it can + // receive events from the ZooSesssion session watcher. + switch (event.getState()) { + case SyncConnected: + log.info("{} ZooKeeper connection established, re-establishing watchers; {}", cacheId, + event); + clear(); + setupWatchers(pathsToWatch); + break; Review Comment: This is OBE, the code doesn't do this anymore. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org