Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void doCompactEntryLogs(double threshold, long maxTimeMillis) {
end = System.currentTimeMillis();
timeDiff = end - start;
}
if (meta.getUsage() >= threshold || (maxTimeMillis > 0 && timeDiff > maxTimeMillis) || !running) {
if (meta.getUsage() >= threshold || (maxTimeMillis > 0 && timeDiff >= maxTimeMillis) || !running) {
// We allow the usage limit calculation to continue so that we get a accurate
// report of where the usage was prior to running compaction.
continue;
Expand Down