Hi,

I'm trying to understand the reason behind "continue;" statement in line
352 of GarbageCollectorThread.java (
https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/GarbageCollectorThread.java).
It is understandable that if we have done majorcompaction then minor
compaction is not required and it can be skipped, but aren't we missing "
forceGarbageCollection.set(false);" in line 362? Or is it supposed to be
like that?

Basically I'm trying to findout when enableForceGC() is called, is it
supposed to trigger and do force GC/Compaction just once or untill it gets
disabled by calling disableForceGC()?

Thanks,
Charan

Reply via email to