DomGarguilo commented on code in PR #5949:
URL: https://github.com/apache/accumulo/pull/5949#discussion_r2658177635
##########
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/availability/LockTable.java:
##########
@@ -48,10 +51,18 @@ public LockTable(TableId tableId, NamespaceId namespaceId,
TRange range,
@Override
public long isReady(FateId fateId, Manager manager) throws Exception {
+ final Range range = new Range(tRange);
+ final RowRange rowRange = RowRange.range(
+ range.isInfiniteStartKey() ? null : range.getStartKey().getRow(),
+ range.isStartKeyInclusive(), range.isInfiniteStopKey() ? null :
range.getEndKey().getRow(),
+ range.isEndKeyInclusive());
+ final LockRange lockRange = LockRange.of(rowRange);
Review Comment:
It was used to be explicit about which parts of the object were actually
being used/not. Might be outdated now as of 8d9ec18 though.
--
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]