[
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)