You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/03/05 02:20:10 UTC

[GitHub] [incubator-dolphinscheduler] gabrywu commented on issue #2020: [QUESTION] Reslove InterProcessMutex.acquire() hang

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:
users@infra.apache.org


With regards,
Apache Git Services