pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] merlimat opened a new pull request #3591: Fixed deadlock by triggering asyncCreateFullPathOptimistic() callback…
Date Wed, 13 Feb 2019 13:44:16 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message