ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-7347) Warning about page eviction, when persistence for different data region is enabled
Date Fri, 19 Jan 2018 09:20:01 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-7347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Ozerov updated IGNITE-7347:
------------------------------------
    Fix Version/s:     (was: 2.4)
                   2.5

> 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.5
>
>
> 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)

Mime
View raw message