wenbingshen commented on code in PR #3976:
URL: https://github.com/apache/bookkeeper/pull/3976#discussion_r1211348626
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/GarbageCollectorThread.java:
##########
@@ -619,9 +622,10 @@ void doCompactEntryLogs(double threshold, long
maxTimeMillis) throws EntryLogMet
meta.getEntryLogId(), meta.getUsage(),
threshold);
}
- long priorRemainingSize = meta.getRemainingSize();
+ long compactSize = meta.getTotalSize() -
meta.getRemainingSize();
+ compactionReadByteRateLimiter.acquire((int) (compactSize));
compactEntryLog(meta);
Review Comment:
@HQebupt Can you search in your bookie service log to see if there is the
following log when the read IO is high: “Extracting entry log meta from
entryLogId”
--
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]