DomGarguilo commented on code in PR #3968:
URL: https://github.com/apache/accumulo/pull/3968#discussion_r1442169345
##########
server/manager/src/main/java/org/apache/accumulo/manager/compaction/coordinator/CompactionCoordinator.java:
##########
@@ -1215,9 +1216,9 @@ private void recordCompletion(ExternalCompactionId ecid) {
}
protected Set<ExternalCompactionId> readExternalCompactionIds() {
- return
this.ctx.getAmple().readTablets().forLevel(Ample.DataLevel.USER).fetch(ECOMP).build()
- .stream().flatMap(tm -> tm.getExternalCompactions().keySet().stream())
- .collect(Collectors.toSet());
+ return this.ctx.getAmple().readTablets().forLevel(Ample.DataLevel.USER)
+ .filter(new
HasExternalCompactionsFilter()).fetch(ECOMP).build().stream()
Review Comment:
Oh nice. thats good to know.
--
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]