You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Zili Chen (Jira)" <ji...@apache.org> on 2022/06/26 13:54:00 UTC

[jira] [Closed] (CURATOR-641) 死锁 deadlock

     [ https://issues.apache.org/jira/browse/CURATOR-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zili Chen closed CURATOR-641.
-----------------------------
    Resolution: Invalid

There is not a method named "watcher" for LockInternals. Also it would be better to prepare a details time series of deadlock or a test case. Otherwise I'll regard this issue as invalid.

> 死锁  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
>            Priority: Major
>         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)