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

   ### Motivation
   
   When creating the topic policy reader got any problem(maybe a network 
problem), and we can not clear the current state, which will let the broker can 
not retry to init the topic policy reader again until we unload the namespace. 
   
   > Please see the details in the code.
   
   ### Modifications
   
   - Fix the wrong logic and make the method more safety.
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
   
   - [x] `doc-not-needed` 
   (Please explain why)
   
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `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