You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2022/09/08 02:02:32 UTC

[pulsar] branch master updated: [cleanup][broker]remove unnecessary variable in PersistentTopic (#17511)

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

technoboy 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 82e84340c05 [cleanup][broker]remove unnecessary variable in PersistentTopic (#17511)
82e84340c05 is described below

commit 82e84340c05782aa96bcf34e0c6d11c8d98bf241
Author: fengyubiao <yu...@streamnative.io>
AuthorDate: Thu Sep 8 10:02:25 2022 +0800

    [cleanup][broker]remove unnecessary variable in PersistentTopic (#17511)
---
 .../org/apache/pulsar/broker/service/persistent/PersistentTopic.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
index 0440177b783..31dda5539a3 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
@@ -213,7 +213,6 @@ public class PersistentTopic extends AbstractTopic implements Topic, AddEntryCal
     private volatile double lastUpdatedAvgPublishRateInMsg = 0;
     private volatile double lastUpdatedAvgPublishRateInByte = 0;
 
-    private volatile int maxUnackedMessagesOnSubscriptionApplied;
     private volatile boolean isClosingOrDeleting = false;
 
     private ScheduledFuture<?> fencedTopicMonitoringTask = null;