You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Kasnacheev (Jira)" <ji...@apache.org> on 2021/01/11 20:55:00 UTC
[jira] [Commented] (IGNITE-13878) Allocated RAM is always 0 for
non-persistent regions of persistent cluster
[ https://issues.apache.org/jira/browse/IGNITE-13878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262928#comment-17262928 ]
Ilya Kasnacheev commented on IGNITE-13878:
------------------------------------------
[~akalashnikov] please review the fix.
> 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.10
>
> 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)