gabrywu commented on issue #2020: [QUESTION] Reslove 
InterProcessMutex.acquire() hang
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/2020#issuecomment-594993325
 
 
   I may find the reason: https://github.com/apache/curator/pull/297
   
   > Fixes race in many Curator recipes whereby a pattern was used that called 
"notifyAll" in a synchronized block in response to a ZooKeeper watcher 
callback. This created a race and possible deadlock if the recipe instance was 
already in a synchronized block. This would result in the ZK event thread 
getting blocked which would prevent ZK connections from getting repaired. This 
change adds a new executor (available from CuratorFramework) that can be used 
to do the sync/notify so that ZK's event thread is not blocked.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to