[jira] [Created] (IGNITE-4314) Cache.clear should not destroy offheap map

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4314) Cache.clear should not destroy offheap map

Anton Vinogradov (Jira)
Semen Boikov created IGNITE-4314:
------------------------------------

             Summary: Cache.clear should not destroy offheap map
                 Key: IGNITE-4314
                 URL: https://issues.apache.org/jira/browse/IGNITE-4314
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 1.7
            Reporter: Semen Boikov
             Fix For: 1.9


Currently when offheap is enabled then cache.clear() operations fully destroys offheap map (GridCacheClearAllRunnable calls GridCacheSwapManager.clearOffHeap). This is not correct since there can be entry referenceing cleared memory, it seems offheap should be cleared in the same way as swap using offheap keys iterator.



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