[
https://issues.apache.org/jira/browse/IGNITE-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16729298#comment-16729298
]
Alexand Polyakov commented on IGNITE-6564:
------------------------------------------
left three open questions
* are the counters correctly evaluated in CacheMetricsEntitiesCountTest
||Cache||Size||offHeapEntriesCnt||offHeapPrimaryEntriesCnt||offHeapBackupEntriesCnt||heapEntriesCnt||
|CacheMode = REPLICATED|cacheSize|cacheSize * GRID_CNT|cacheSize|cacheSize *
(GRID_CNT - 1)|0|
|CacheMode = PARTITIONED, Backups = 1|cacheSize|cacheSize *
2|cacheSize|cacheSize|0|
|CacheMode = PARTITIONED, Backups = 1, NearCache|cacheSize|cacheSize *
2|cacheSize|cacheSize|216|
|CacheMode = LOCAL|cacheSize|cacheSize|cacheSize|0|0|
* how to calculate heapsize for NearCache, set the value obtained empirically
216
* how the assessment is carried out in the checkCache method (clarification is
needed, since the calculated and actual figures differ from the theoretical
ones)
> Incorrect calculation size and keySize for cluster cache metrics
> ----------------------------------------------------------------
>
> Key: IGNITE-6564
> URL: https://issues.apache.org/jira/browse/IGNITE-6564
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Ilya Kasnacheev
> Assignee: Alexand Polyakov
> Priority: Minor
> Labels: iep-6
>
> They are currently not passed by ring and therefore only taken from current
> node, which returns incorrect (local) value.
> See CacheMetricsSnapshot class.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)