kevinrr888 commented on code in PR #5786:
URL: https://github.com/apache/accumulo/pull/5786#discussion_r2304623541


##########
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/Utils.java:
##########
@@ -180,8 +316,9 @@ public static Lock getTableNameLock() {
     return tableNameLock;
   }
 
-  public static Lock getReadLock(Manager env, AbstractId<?> id, FateId fateId) 
{
-    return Utils.getLock(env.getContext(), id, fateId, LockType.READ);
+  public static DistributedLock getReadLock(Manager env, AbstractId<?> id, 
FateId fateId,
+      LockRange range) {
+    return Utils.getLock(env.getContext(), id, fateId, LockType.READ, range);

Review Comment:
   Do `Utils.getReadLock` and 
`Utils.reserveTable/Namespace(...DistributedReadWriteLock.LockType.READ...)` 
accomplish the same thing? Can these be combined?



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