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/24 15:18:05 UTC
[jira] [Resolved] (IGNITE-118) Cache clear with offheap key does
not clear
[ 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)