dao-jun commented on PR #24658:
URL: https://github.com/apache/pulsar/pull/24658#issuecomment-3241030093

   > There seems to be a remaining race condition issue: a namespace might be 
getting removed while it is being initialized again. One possible solution to 
this would be to break down the logic into another class. In the map for 
namespaces, the value could be an instance of this class that is in different 
states. This way it would be possible to properly handle different cases and 
avoid race conditions.
   
   The concurrency control is based on `policyCacheInitMap`, and I remove the 
init future in the last step. I believe it's OK


-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to