wuzhanpeng opened a new pull request #11640:
URL: https://github.com/apache/pulsar/pull/11640


   ### Motivation
   
   Currently when I need to delete a namespace forcedly, the 
`NamespacesBase#internalDeleteNamespaceForcefully` will firstly list all the 
topics under the namespace and then delete them concurrently without 
distinguishing wheather the topic is partitioned or non-partitioned. This 
behaivor will cause duplicate deletion of schema when the topic list contains 
partitioned topics, because all the partitions of the partitioned topic share 
the same schema.
   
   ### Modifications
   
   Distinguish partitioned topic to avoid duplicate deletion of the same schema.
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API: no
     - The schema: no
     - The default values of configurations: no
     - The wire protocol: no
     - The rest endpoints: no
     - The admin cli options: no
     - Anything that affects deployment: no
   
   ### Documentation
   
   This PR does not need to update the docs.


-- 
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