You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2015/09/28 12:52:04 UTC

[jira] [Commented] (IGNITE-601) IgniteCache.isLocalLocked is broken

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

Semen Boikov commented on IGNITE-601:
-------------------------------------

Javadoc for IgniteCache.isLocalLocked says that if byCurrThread parameters is 'false; then it 'will check that any thread on any node owns a lock on this key'. Currently it does not work:
- lock some key on the node which is not affinity node for the key
- call IgniteCache.isLocalLocked on primary node, it returns false

> IgniteCache.isLocalLocked is broken
> -----------------------------------
>
>                 Key: IGNITE-601
>                 URL: https://issues.apache.org/jira/browse/IGNITE-601
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Artem Shutak
>            Assignee: Semen Boikov
>              Labels: failedtest
>             Fix For: ignite-1.5
>
>
> To reproduce change GridCachePartitionedBasicApiTest to use PARTITIONED_ONLY cache instead of NEAR_PARTITIONED.
> See GG-7437. Comments from origin Jira:
> - Fixed in gg-7434-1
> - Reopening since there are left TODOs in data grid test suite.
> Now, see GridCacheReplicatedNearOnlyMultiNodeFullApiSelfTest # lockingEnabled



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)