mattisonchao commented on PR #19374:
URL: https://github.com/apache/pulsar/pull/19374#issuecomment-1411119516

   @dlg99 
   
   >swap order of steps 2 and 3 (mark deleted first, do the rest, unmark on 
error).
   In combo with https://github.com/apache/pulsar/pull/19097 this should work 
good enough.
   
   > There is still a chance that a topic creation passed the check before ns 
deletion started, and completed after the ns is marked deleted. I don't think 
we can solve it easily, this will require either distributed locking or 
serialization of ns/topic metadata operations e.g. via global system topic.
   
   As you said. the topic still has the chance to go into the race condition. 
   
   > I don't think we can solve it easily,
   
   We don't need to solve the user-created topic but we should make sure to 
clean up the system topic.


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