dlmarion commented on code in PR #6025:
URL: https://github.com/apache/accumulo/pull/6025#discussion_r2736600517


##########
core/src/main/java/org/apache/accumulo/core/fate/zookeeper/DistributedReadWriteLock.java:
##########
@@ -107,6 +109,7 @@ public interface QueueLock {
 
   private static final Logger log = 
LoggerFactory.getLogger(DistributedReadWriteLock.class);
 
+  @NotThreadSafe

Review Comment:
   What's the rationale for this annotation? Aren't locks intended to be used 
concurrently by multiple threads?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to