I'm running 3 container instances of ignite fabric 2.3.0. Below is my
datastorageconfiguration:


        <property name="dataStorageConfiguration">
            <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                <property name="dataRegionConfigurations">
                    <list>
                        <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                            
                            <property name="name"
value="NonEvictable_256MB_Region"/>
                            <property name="initialSize" value="#{512L *
1024 * 1024}"/>
                            <property name="maxSize" value="#{512L * 1024 *
1024}"/>
                            <property name="pageEvictionMode"
value="DISABLED"/>
                        </bean>
                        <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                            <property name="name"
value="NonEvictable_128MB_Region"/>
                            <property name="initialSize" value="#{256L *
1024 * 1024}"/>
                            <property name="maxSize" value="#{256L * 1024 *
1024}"/>
                            <property name="pageEvictionMode"
value="DISABLED"/>
                        </bean>
                    </list>
                </property>
                <property name="defaultDataRegionConfiguration">
                    <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                        
                        <property name="initialSize" value="#{2L * 1024 *
1024 * 1024}"/>
                        <property name="maxSize" value="#{2L * 1024 * 1024 *
1024}"/>
                        <property name="pageEvictionMode"
value="RANDOM_2_LRU"/>
                        <property name="evictionThreshold" value="0.9"/>
                    </bean>
                </property>
            </bean>
        </property>


Here's the snippet of the cacheConfig for the cache using my non-evictable
data region:
     <bean id="medNdcCacheConfig"
class="org.apache.ignite.configuration.CacheConfiguration">
        <property name="name" value="XXX" />
        <property name="atomicityMode" value="TRANSACTIONAL" />
        <property name="cacheMode" value="REPLICATED" />
        <property name="dataRegionName" value="NonEvictable_256MB_Region"/>
       <property name="queryEntities">
            <list>
                <bean class="org.apache.ignite.cache.QueryEntity">
                    <property name="keyType" value="java.lang.Long" />
       ....   


After a while, when entries in the main region cache probably get filled
(0.9 threshhold), I'm starting seeing non-evictable cache entries also
getting evicted. What's worse - they are evicted on one node, and eviction
is not propagated on the other two nodes (so now every node has different
count of entries for that cache, even though it's replicated). So eviction
is not even working properly.
Please help!





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to