This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 5d45278 Configure automatic compaction of the Bookie entry location
index RocksDB database (#633)
5d45278 is described below
commit 5d45278c531ba61e3c0dca52cfcf358a6f3c07d5
Author: Lari Hotari <[email protected]>
AuthorDate: Tue Sep 23 01:39:27 2025 +0300
Configure automatic compaction of the Bookie entry location index RocksDB
database (#633)
---
charts/pulsar/values.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml
index 3e90311..6e6293e 100755
--- a/charts/pulsar/values.yaml
+++ b/charts/pulsar/values.yaml
@@ -863,6 +863,11 @@ bookkeeper:
majorCompactionInterval: "10800" # default 86400 seconds (3 hours vs
default 1 day)
gcWaitTime: "300000" # default 900000 milli-seconds (5
minutes vs default 15 minutes)
isForceGCAllowWhenNoSpace: "true" # default false
+ # run entry location index RocksDB compaction with a random interval up to
the configured value in seconds
+ # see https://github.com/apache/bookkeeper/pull/4555
+ # besides keeping the size of the entry location index RocksDB under
control,
+ # this also makes the entry count metrics more accurate for monitoring
+ PULSAR_PREFIX_entryLocationCompactionInterval: "86400"
# disk utilization configuration
# https://bookkeeper.apache.org/docs/reference/config#disk-utilization
# Make sure that diskUsageLwmThreshold <= diskUsageWarnThreshold <=
diskUsageThreshold