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.git
The following commit(s) were added to refs/heads/master by this push:
new 798a014ab7d [improve][ml]Set default value of
managedLedgerPersistIndividualAckAsLongArray to true (#23888)
798a014ab7d is described below
commit 798a014ab7d1bd1055a9f7a62cfd4ed0120d798a
Author: fengyubiao <[email protected]>
AuthorDate: Fri Jan 24 19:51:50 2025 +0800
[improve][ml]Set default value of
managedLedgerPersistIndividualAckAsLongArray to true (#23888)
---
.../src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
index 00e1113adfb..ce3b25571e2 100644
---
a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
+++
b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
@@ -2269,7 +2269,7 @@ public class ServiceConfiguration implements
PulsarConfiguration {
@FieldContext(
category = CATEGORY_STORAGE_ML,
doc = "Whether persist cursor ack stats as long arrays, which will
compress the data and reduce GC rate")
- private boolean managedLedgerPersistIndividualAckAsLongArray = false;
+ private boolean managedLedgerPersistIndividualAckAsLongArray = true;
@FieldContext(
category = CATEGORY_STORAGE_ML,
doc = "If enabled, the maximum \"acknowledgment holes\" will not be
limited and \"acknowledgment holes\" "