From 8e28602310c21f9ab52c38ea7377415fd0d932d8 Mon Sep 17 00:00:00 2001 From: Mattison Chao Date: Mon, 13 Nov 2023 16:11:59 +0800 Subject: [PATCH] Revert useless changes --- .../java/org/apache/pulsar/broker/service/BrokerService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java index dd5b5deffb51d..0ceb22df7e9c1 100644 --- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java +++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java @@ -1666,6 +1666,8 @@ private CompletableFuture getManagedLedgerConfig(@Nonnull T managedLedgerConfig .setMaxUnackedRangesToPersist(serviceConfig.getManagedLedgerMaxUnackedRangesToPersist()); + managedLedgerConfig.setMaxUnackedRangesToPersistInZk( + serviceConfig.getManagedLedgerMaxUnackedRangesToPersistInZooKeeper()); managedLedgerConfig.setMaxEntriesPerLedger(serviceConfig.getManagedLedgerMaxEntriesPerLedger()); managedLedgerConfig .setMinimumRolloverTime(serviceConfig.getManagedLedgerMinLedgerRolloverTimeMinutes(),