dlg99 commented on code in PR #3390:
URL: https://github.com/apache/bookkeeper/pull/3390#discussion_r915211419
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/GarbageCollectorThread.java:
##########
@@ -547,6 +549,9 @@ void doCompactEntryLogs(double threshold, long
maxTimeMillis) throws EntryLogMet
MutableLong end = new MutableLong(start);
MutableLong timeDiff = new MutableLong(0);
+ PriorityQueue<EntryLogMetadata> pq = new PriorityQueue<>(Comparator
Review Comment:
there is a problem with PersistentEntryLogMetadataMap which does not keep
metadata in memory and recycles it when leaves forEach call.
Let me see what I can do there
--
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]