keith-turner commented on code in PR #5847:
URL: https://github.com/apache/accumulo/pull/5847#discussion_r2317045668


##########
core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ServiceLock.java:
##########
@@ -155,7 +155,11 @@ public synchronized boolean tryLock(LockWatcher lw, byte[] 
data)
 
     LockWatcherWrapper lww = new LockWatcherWrapper(lw);
 
-    lock(lww, data);
+    try {
+      lock(lww, data);
+    } catch (IllegalStateException e) {

Review Comment:
   Is there a specific throw in the code that this is trying to catch?  Seeing 
a few places that throw this.



-- 
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

Reply via email to