jiazhai commented on issue #6639: The bookkeeper ledger no honoring the retention period and causing for the more disk usage. URL: https://github.com/apache/pulsar/issues/6639#issuecomment-607592762 @prasad-reddyk @orbang As sijie mentioned, how about try to set the gc to be more frequently in bookkeeper.conf? The default gc time is 1 hour and 1 day: ``` # Threshold of minor compaction # For those entry log files whose remaining size percentage reaches below # this threshold will be compacted in a minor compaction. # If it is set to less than zero, the minor compaction is disabled. minorCompactionThreshold=0.2 # Interval to run minor compaction, in seconds # If it is set to less than zero, the minor compaction is disabled. minorCompactionInterval=3600 # Threshold of major compaction # For those entry log files whose remaining size percentage reaches below # this threshold will be compacted in a major compaction. # Those entry log files whose remaining size percentage is still # higher than the threshold will never be compacted. # If it is set to less than zero, the minor compaction is disabled. majorCompactionThreshold=0.5 # Interval to run major compaction, in seconds # If it is set to less than zero, the major compaction is disabled. majorCompactionInterval=86400 ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
