ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Mekhanikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-7347) Warning about page eviction, when persistence for different data region is enabled
Date Tue, 02 Jan 2018 08:20:00 GMT
Denis Mekhanikov created IGNITE-7347:
----------------------------------------

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


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
(v6.4.14#64029)

Mime
View raw message