dlmarion commented on code in PR #6449:
URL: https://github.com/apache/accumulo/pull/6449#discussion_r3493705980


##########
server/base/src/main/java/org/apache/accumulo/server/metadata/ServerAmpleImpl.java:
##########
@@ -270,7 +270,8 @@ public Iterator<GcCandidate> getGcCandidates(DataLevel 
level) {
         throw new RuntimeException(e);
       }
       scanner.setRange(range);
-      return scanner.stream().filter(entry -> 
entry.getValue().equals(SkewedKeyValue.NAME))
+      scanner.addScanIterator(new IteratorSetting(25, "gcCandidate", 
GcCandidateFilter.class));

Review Comment:
   I'm not seeing a constant. I see a literal `20` being used in main in 
`IteratorConfigUtil.getInitialTableIteratorSettings`



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