You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/06/25 19:37:51 UTC

[pulsar] branch master updated: [conf]minorCompactionInterval should be greater than gcWaitTime (#4592)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 0cf0a09  [conf]minorCompactionInterval should be greater than gcWaitTime (#4592)
0cf0a09 is described below

commit 0cf0a09ec034dac60e300b4d0af8abfca8267689
Author: lipenghui <pe...@apache.org>
AuthorDate: Wed Jun 26 03:37:45 2019 +0800

    [conf]minorCompactionInterval should be greater than gcWaitTime (#4592)
    
    * minorCompactionInterval should be greater than gcWaitTime
    
    * Add majorCompactionInterval check.
---
 conf/bookkeeper.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/conf/bookkeeper.conf b/conf/bookkeeper.conf
index 4517859..869a35e 100644
--- a/conf/bookkeeper.conf
+++ b/conf/bookkeeper.conf
@@ -475,6 +475,7 @@ minorCompactionThreshold=0.2
 
 # Interval to run minor compaction, in seconds
 # If it is set to less than zero, the minor compaction is disabled.
+# Note: should be greater than gcWaitTime.
 minorCompactionInterval=3600
 
 # Set the maximum number of entries which can be compacted without flushing.
@@ -497,6 +498,7 @@ majorCompactionThreshold=0.5
 
 # Interval to run major compaction, in seconds
 # If it is set to less than zero, the major compaction is disabled.
+# Note: should be greater than gcWaitTime.
 majorCompactionInterval=86400
 
 # Throttle compaction by bytes or by entries.