You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Setrakyan (JIRA)" <ji...@apache.org> on 2015/08/01 00:08:04 UTC

[jira] [Commented] (IGNITE-1180) IgniteCache.randomEntry() doesn't work when offheap mode is used

    [ https://issues.apache.org/jira/browse/IGNITE-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649914#comment-14649914 ] 

Dmitriy Setrakyan commented on IGNITE-1180:
-------------------------------------------

Does anyone have implementation ideas for how to get to a random entry in off-heap store? 

> IgniteCache.randomEntry() doesn't work when offheap mode is used
> ----------------------------------------------------------------
>
>                 Key: IGNITE-1180
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1180
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Denis Magda
>             Fix For: ignite-1.4
>
>
> {{IgniteCache.randomEntry()}} always returns {{null}} when {{CacheMemoryMode.OFFHEAP_TIERED}} mode is used.
> How to reproduce:
> - create partitioned or replicated cache;
> - populate it with data;
> - make a call {{IgniteCache.randomEntry()}}.
> Also OffHeap versions of {{CacheVersionedEntryAbstractTest}} may be used to reproduce the issue. 
> These tests will be merged to master when IGNITE-946 is closed. Unmute these tests on TC when the issue is fixed.



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