[jira] [Created] (IGNITE-13878) Allocated RAM is always 0 for non-persistent regions of persistent cluster

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-13878) Allocated RAM is always 0 for non-persistent regions of persistent cluster

Anton Vinogradov (Jira)
Ilya Kasnacheev created IGNITE-13878:
----------------------------------------

             Summary: 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


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)