ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Tikhonov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-118) Cache clear with offheap key does not clear
Date Tue, 24 Feb 2015 14:18:05 GMT

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

Nikolay Tikhonov resolved IGNITE-118.
-------------------------------------
    Resolution: Fixed

Now IgniteCache API doesn't have clear(K key) method.

> Cache clear with offheap key does not clear
> -------------------------------------------
>
>                 Key: IGNITE-118
>                 URL: https://issues.apache.org/jira/browse/IGNITE-118
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Nikolay Tikhonov
>            Assignee: Nikolay Tikhonov
>             Fix For: sprint-2
>
>
> I added 2 tests for cache with OFFHEAP_TIERED memory mode to GridCacheClearAllSelfTest:
testClearOffHeap() and testClearAllOffHeap().
> testClearOffHeap() - failed and testClearAllOffHeap() - passed.
> I looked into code and found that logic in method
> {noformat}
> GridCacheAdapter.clear(GridCacheVersion obsoleteVer, K key, @Nullable GridPredicate<GridCacheEntry<K,
V>>[] filter)
> {noformat}
> is different from logic GridCacheClearAllRunnable.run()



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

Mime
View raw message