[jira] [Created] (IGNITE-7347) Warning about page eviction, when persistence for different data region is enabled

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

[jira] [Created] (IGNITE-7347) Warning about page eviction, when persistence for different data region is enabled

Anton Vinogradov (Jira)
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)