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] [Created] (IGNITE-118) Cache clear with offheap key does not clear
Date Fri, 23 Jan 2015 08:27:34 GMT
Nikolay Tikhonov created IGNITE-118:
---------------------------------------

             Summary: 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