[
https://issues.apache.org/jira/browse/IGNITE-13878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17304482#comment-17304482
]
Aleksey Plekhanov commented on IGNITE-13878:
--------------------------------------------
[~ilyak], I've looked at your patch, it looks good to me.
> Allocated RAM is always 0 for non-persistent regions of persistent cluster
> --------------------------------------------------------------------------
>
> Key: IGNITE-13878
> URL: https://issues.apache.org/jira/browse/IGNITE-13878
> Project: Ignite
> Issue Type: Bug
> Components: persistence
> Affects Versions: 2.9
> Reporter: Ilya Kasnacheev
> Assignee: Ilya Kasnacheev
> Priority: Minor
> Fix For: 2.11
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager#wrapMetricsMemoryProvider
> The logic in overridden nextRegion() method for the DirectMemoryProvider in
> the case above does not work for non-persistent data regions, as an example,
> region with persistenceEnabled=false, initSize = maxSize = 2G has only a
> single chunk that writes into
> memMetrics.updateCheckpointBufferSize(chunkSize) instead of
> memMetrics.updateOffHeapSize(chunkSize).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)