[ 
https://issues.apache.org/jira/browse/IGNITE-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118120#comment-16118120
 ] 

Alexey Kuznetsov edited comment on IGNITE-9 at 8/9/17 8:17 AM:
---------------------------------------------------------------

[~yzhdanov] I have some questions on this ticket :
1) Whether IngniteReentrantReadWriteLock must work the same as 
java.util.concurrent.locks.ReentrantReadWriteLock(when you have only one node 
in cluster) ?
2) Whether all methods in IngniteReentrantReadWriteLock must work fully shared 
on cluster(locks on one node, must be seen by another node. Signals could wake 
up threads on another nodes and so on) ?

PS. Implementation of java ReentrantLock in Ignite (GridCacheLockImpl) doesn't 
meet requirements above.(attached test, reproducing signal()\await() not work 
as in java ReentrantReadWriteLock)


was (Author: alexey kuznetsov):
[~yzhdanov] I have some questions on this ticket :
1) Whether IngniteReentrantReadWriteLock must work the same as 
java.util.concurrent.locks.ReentrantReadWriteLock(when you have only one node 
in cluster) ?
2) Whether all methods in IngniteReentrantReadWriteLock must work fully shared 
on cluster(locks on one node, must be seen by another node. Signals could wake 
up threads on another nodes and so on) ?

PS. Implementation of java ReentrantLock in Ignite (GridCacheLockImpl) doesn't 
meet requirements above.

> Need to implement IngniteReentrantReadWriteLock
> -----------------------------------------------
>
>                 Key: IGNITE-9
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9
>             Project: Ignite
>          Issue Type: Task
>          Components: general
>            Reporter: Yakov Zhdanov
>            Assignee: Alexey Kuznetsov
>         Attachments: IgniteReentrantReadWriteLockSelfTest.java
>
>
> See org.apache.ignite.IgniteLock for reference



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to