hangc0276 opened a new pull request, #3631:
URL: https://github.com/apache/bookkeeper/pull/3631

   ### Motivation
   When we use `TransactionalEntryLogCompactor` to compact the entry log files, 
it will generate a lot of small entry log files, and for those files, the file 
usage is usually greater than 90%, which can not be compacted unless the file 
usage decreased.
   
   
![image](https://user-images.githubusercontent.com/5436568/201135615-4d6072f5-e353-483d-9afb-48fad8134044.png)
   
   
   ### Changes
   We introduce the entry log file size check during compaction, and the 
checker is controlled by `gcEntryLogSizeRatio`. 
   If the total entry log file size is less than `gcEntryLogSizeRatio * 
logSizeLimit`, the entry log file will be compacted even though the file usage 
is greater than 90%. This feature is disabled by default and the 
`gcEntryLogSizeRatio` default value is `0.0`


-- 
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]

Reply via email to