keith-turner commented on code in PR #5786:
URL: https://github.com/apache/accumulo/pull/5786#discussion_r2305238257
##########
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:
The can be used to get the lock if it exists w/o creating it in ZK if it
does not.
--
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]