keith-turner commented on code in PR #5391:
URL: https://github.com/apache/accumulo/pull/5391#discussion_r1990310820
##########
server/gc/src/main/java/org/apache/accumulo/gc/GCRun.java:
##########
@@ -491,6 +509,10 @@ static void minimizeDeletes(SortedMap<String,GcCandidate>
confirmedDeletes,
lastDirAbs = null;
}
}
+ if (progressTimer.hasElapsed(Duration.ofMinutes(1))) {
Review Comment:
This may create a Duration object each time the loop iterates. Could create
a Duration constant for the one minute and use that for this and the other
checks.
--
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]