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

   ### Motivation
   
   - `isNamespaceReplicated` method call is synchronous and it's used as part 
of an async call chain in `AdminResource#internalCreatePartitionedTopic`.
     - calling synchronous methods in an async call chain could cause deadlocks 
and poor performance. 
   
   ### Modifications
   
   - replace with asynchronous calls and make it explicit that creating topics 
to replicated clusters happens in the background
   - add proper logging for creation of topics in the replicated clusters
   
   ### 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