You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2018/04/23 14:15:00 UTC
[jira] [Commented] (IGNITE-7347) Warning about page eviction, when
persistence for different data region is enabled
[ https://issues.apache.org/jira/browse/IGNITE-7347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448198#comment-16448198 ]
Dmitriy Pavlov commented on IGNITE-7347:
----------------------------------------
[~ivan.glukos] could you please review this change?
> Warning about page eviction, when persistence for different data region is enabled
> ----------------------------------------------------------------------------------
>
> Key: IGNITE-7347
> URL: https://issues.apache.org/jira/browse/IGNITE-7347
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: Denis Mekhanikov
> Assignee: Denis Mekhanikov
> Priority: Trivial
> Fix For: 2.6
>
>
> Consider the following configuration:
> {noformat}
> <property name="dataStorageConfiguration">
> <bean class="org.apache.ignite.configuration.DataStorageConfiguration">
> <property name="dataRegionConfigurations">
> <array>
> <bean class="org.apache.ignite.configuration.DataRegionConfiguration">
> <property name="name" value="A_Region"/>
> <property name="initialSize" value="#{2L * 1024L * 1024L * 1024L}"/>
> <property name="maxSize" value="#{4L * 1024L * 1024L * 1024L}"/>
> <property name="pageEvictionMode" value="DISABLED"/>
> <property name="persistenceEnabled" value="true"/>
> </bean>
> <bean class="org.apache.ignite.configuration.DataRegionConfiguration">
> <property name="name" value="B_Region"/>
> <property name="initialSize" value="#{2L * 1024L * 1024L * 1024L}"/>
> <property name="maxSize" value="#{4L * 1024L * 1024L * 1024L}"/>
> <property name="pageEvictionMode" value="RANDOM_2_LRU"/>
> <property name="persistenceEnabled" value="false"/>
> </bean>
> </array>
> </property>
> </bean>
> </property>
> <property name="cacheConfiguration">
> <bean class="org.apache.ignite.configuration.CacheConfiguration">
> <property name="name" value="cache"/>
> <property name="dataRegionName" value="B_Region"/>
> </bean>
> </property>
> {noformat}
> It leads to the following warning on start: *Page eviction mode for \[B_Region\] memory region is ignored because Ignite Native Persistence is enabled*.
> But page eviction is actually applied and work as expected.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)