You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Wuwei Lin (JIRA)" <ji...@apache.org> on 2017/05/07 06:30:05 UTC

[jira] [Commented] (IGNITE-3715) Incorrect Hibernate L2 cache statistics

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

Wuwei Lin commented on IGNITE-3715:
-----------------------------------

getEntries() should return an empty set if not supported, as documented in Hibernate.
Loading all entries from all nodes is too expensive. I think we don't need to support this operation.

> Incorrect Hibernate L2 cache statistics
> ---------------------------------------
>
>                 Key: IGNITE-3715
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3715
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: Hibernate L2 cache
>    Affects Versions: 1.7
>            Reporter: Valentin Kulichenko
>            Assignee: Wuwei Lin
>            Priority: Minor
>
> These methods on {{SecondLevelCacheStatistics}} return incorrect data:
> * {{getElementCountInMemory()}} - returns only local node's cache size (zero on client), not the global cache size.
> * {{getEntries()}} - always returns empty map, even if there is data in cache.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)