File tree 1 file changed +2
-2
lines changed
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2933,8 +2933,8 @@ private synchronized void checkReplicatedSubscriptionControllerState(boolean sho
2933
2933
log .info ("[{}] Enabling replicated subscriptions controller" , topic );
2934
2934
replicatedSubscriptionsController = Optional .of (new ReplicatedSubscriptionsController (this ,
2935
2935
brokerService .pulsar ().getConfiguration ().getClusterName ()));
2936
- } else if (isCurrentlyEnabled && !shouldBeEnabled || !isEnableReplicatedSubscriptions
2937
- || !replicationEnabled ) {
2936
+ } else if (isCurrentlyEnabled && ( !shouldBeEnabled || !isEnableReplicatedSubscriptions
2937
+ || !replicationEnabled )) {
2938
2938
log .info ("[{}] Disabled replicated subscriptions controller" , topic );
2939
2939
replicatedSubscriptionsController .ifPresent (ReplicatedSubscriptionsController ::close );
2940
2940
replicatedSubscriptionsController = Optional .empty ();
You can’t perform that action at this time.
0 commit comments