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


##########
server/compactor/src/main/java/org/apache/accumulo/compactor/Compactor.java:
##########
@@ -651,10 +652,13 @@ public void run() {
         err.set(null);
         JOB_HOLDER.reset();
 
-        // Attempt to process all existing log sorting work serially in this 
thread.
-        // When no work remains, this call will return so that we can look for 
compaction
-        // work.
-        logSorter.sortLogsIfNeeded();
+        if (System.nanoTime() > nextSortLogsCheckTime) {

Review Comment:
   I changed this to millis to avoid doing something incorrect.



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