merlimat opened a new pull request #3591: Fixed deadlock by triggering 
asyncCreateFullPathOptimistic() callback…
URL: https://github.com/apache/pulsar/pull/3591
 
 
   ### Motivation
   
   As outlined in #3566 , there's a deadlock that is triggered by doing a ZK 
blocking call (when fetching the rack-aware information) from a ZK event 
callback thread (after creating a z-node).
   
   Most of the callbacks issued by `MetaStoreImplZooKeeper` are being issued 
from a background thread (eg. different from ZK event thread), the only one was 
not is `asyncCreateFullPathOptimistic()` introduced in 2.2. 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to