-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.2.3
-
Fix Version/s: 4.4.0
-
Component/s: bookkeeper-server
-
Labels:None
In doCompactEntryLogs, Entries are added to new logs, while all old logs were not released until the end of handling. So during the process, a lot of space will be used. Need to disable compaction when disk becomes full, otherwise compaction will fill up disk quickly.
I would like to change old "forced garbage collection" logic, and suspend major compaction when it reaches warn threshold, suspend minor compaction when it reaches critical threshold.