hanmz opened a new pull request, #23142:
URL: https://github.com/apache/pulsar/pull/23142

   ### Motivation
   
   When config `enableReplicatedSubscriptions=false` , the replicated 
subscriptions controller will never be started. But we will still see the log 
of the `Disabled replicated subscriptions controller`. In fact, we should not 
see the log because it has never been started.
   
   ### Modifications
   Modify judgment conditions. We just need to print the log 'Disabled 
replicated subscriptions controller' when isCurrentlyEnabled is equal to true.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to