billoley commented on code in PR #2790:
URL: https://github.com/apache/accumulo/pull/2790#discussion_r912211623
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/scan/LookupTask.java:
##########
@@ -79,6 +79,9 @@ public void run() {
long maxScanTime = 4000;
long startTime = System.currentTimeMillis();
+ LinkedList<Pair<KeyExtent,List<Range>>> queryQueue = new LinkedList<>();
+ session.queries.entrySet()
+ .forEach(e -> queryQueue.addLast(new Pair<>(e.getKey(),
e.getValue())));
Review Comment:
Committed a change to remove and add to session.queries whenever a change is
made to queryQueue.
--
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]