eolivelli commented on PR #17308:
URL: https://github.com/apache/pulsar/pull/17308#issuecomment-1232903489

   @poorbarcode this is a good catch indeed!
   
   Thinking more about this case the "problem" is related to the sequences of 
things that happen in the two operations:
   - delete a partitioned topic
   - automatic creation of a partitioned topic
   
   We must prevent these two things to be performed concurrently
   
   Ideally the two operations should be performed in reverse order:
   when you delete the topic the last thing that you delete is the first thing 
that "create partitioned topic" checks
   so until the deletion is finished a new creation cannot fails
   


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