nathanielsilverman opened a new pull request, #15611:
URL: https://github.com/apache/pulsar/pull/15611

   ### Fixes #15131
   
   ### The Bug:
   There was a race condition where the thread would try to remove the 
persistent topic if there was a failure during create a topic, which would 
result in a deadlock because a thread was trying to acquire the write lock when 
adding it to the map while another thread was contending for the write lock 
attempting to remove the persistent topic from the map. 
   
   ### Motivation and Changes:
   Remove the persistent topic from the map in another thread following a 
failure during topic creation, waiting asynchronously until the topic 
replication/deduplication checks are fully completed/shut down before removing 
the topic from the map. 
   
   
   


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