keith-turner commented on code in PR #3150:
URL: https://github.com/apache/accumulo/pull/3150#discussion_r1064279725
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/ScanServer.java:
##########
@@ -881,7 +903,7 @@ public InitialMultiScan startMultiScan(TInfo tinfo,
TCredentials credentials,
batch.put(extent, entry.getValue());
}
- try (ScanReservation reservation = reserveFiles(batch.keySet())) {
+ try (ScanReservation reservation = reserveFiles(batch)) {
HashMap<KeyExtent,TabletBase> tablets = new HashMap<>();
batch.keySet().forEach(extent -> {
Review Comment:
The following should be the set of non failure tablets, with changes in
other comments.
```suggestion
reservation.tabletMetadata.keySet().forEach(extent -> {
```
--
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]