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

Ilya Kasnacheev commented on IGNITE-6483:
-----------------------------------------

It turns out size and keySize are not handled correctly - for cacheMetrics they 
are taken from local node that doesn't contain the correct amount.

> Entries count in caches' MX Beans not immediately available
> -----------------------------------------------------------
>
>                 Key: IGNITE-6483
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6483
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Ilya Kasnacheev
>            Assignee: Ilya Kasnacheev
>         Attachments: IgniteCacheMxBeansTest.java
>
>
> When querying properties like
> {code}
> cache.mxBean().getOffHeapPrimaryEntriesCount()
> {code}
> The value is often 0 (zero) initially, even if cache is not empty and located 
> in offheap.
> Local MX Bean returns correct value.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to