ysz created CURATOR-641:
---------------------------

             Summary: 死锁  deadlock
                 Key: CURATOR-641
                 URL: https://issues.apache.org/jira/browse/CURATOR-641
             Project: Apache Curator
          Issue Type: Bug
          Components: Recipes
    Affects Versions: 5.2.1
            Reporter: ysz
         Attachments: LockInternals.java

describe:

maybe deadlock

 

question:

the question in 
org.apache.curator.framework.recipes.locks.LockInternals#attemptLock

and 

the question in org.apache.curator.framework.recipes.locks.LockInternals#watcher

 

detail

When the method named watcher is triggered 

But the wait method in the method named attemptLock has not yet been executed

then Will deadlock

 

 The solution is attached



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to