shibd commented on pull request #13337:
URL: https://github.com/apache/pulsar/pull/13337#issuecomment-997191818


   @Technoboy-  Yes,Execute not orderly is one of the problems. 
   
   But `systemTopic.deleteForcefully()` method not will close reader.In the 
source code, the following two codes will trigger the re created system topic.
   
   1. When the client is disconnected, the client will reconnection,  resulting 
in the auto create of the topic.
   
   
https://github.com/apache/pulsar/blob/3cc83093112f048966b2d358fe66e12cc9fd2ff2/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java#L1145-L1148
   
   2. The code will create `TopicPoliciesSystemTopicClient`, resulting in the 
auto create of the topic.
   
   
https://github.com/apache/pulsar/blob/3cc83093112f048966b2d358fe66e12cc9fd2ff2/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java#L1172
   
   I tested your code, but I still can't delete the namespace correctly. I 
think it may be related to the above two reasons.
   
   PTAL.


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