You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Nikolay Tikhonov (JIRA)" <ji...@apache.org> on 2015/02/16 17:35:11 UTC

[jira] [Commented] (IGNITE-81) Cache clear(key) does not work for OFFHEAP_TIERED mode.

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

Nikolay Tikhonov commented on IGNITE-81:
----------------------------------------

New IgniteCache interface doesn't have this method, just clear() without arguments. For it exist tests GridCacheAbstractFullApiSelfTest.testClear().

> Cache clear(key) does not work for OFFHEAP_TIERED mode.
> -------------------------------------------------------
>
>                 Key: IGNITE-81
>                 URL: https://issues.apache.org/jira/browse/IGNITE-81
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-1
>            Reporter: Alexey Kuznetsov
>            Assignee: Nikolay Tikhonov
>             Fix For: sprint-2
>
>         Attachments: clear_off_heap.patch
>
>
> Method  cache.clear(key) does not clear value from cache, but method clearAll() does.
> I found that internal logic of this methods are different, but should be the same.
> I created a tests for cache.clear(key) and cache.clearAll() .
> Attached a patch with tests to issue.



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