[
https://issues.apache.org/jira/browse/IGNITE-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikolay Tikhonov updated IGNITE-118:
------------------------------------
Description:
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()
was:
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()
> 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)