You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2015/11/11 13:25:11 UTC

[jira] [Created] (IGNITE-1889) FIFO eviction for atomic cache after removeAll

Sergey Kozlov created IGNITE-1889:
-------------------------------------

             Summary: FIFO eviction for atomic cache after removeAll
                 Key: IGNITE-1889
                 URL: https://issues.apache.org/jira/browse/IGNITE-1889
             Project: Ignite
          Issue Type: Bug
    Affects Versions: ignite-1.4
            Reporter: Sergey Kozlov
            Assignee: Yakov Zhdanov
             Fix For: 1.6


1. Start data nodes with following config
{code:title=config.xml|borderStyle=solid}
<bean class="org.apache.ignite.configuration.CacheConfiguration">
    <property name="name" value="cache_0001"/>
    <property name="atomicityMode" value="ATOMIC"/>
    <property name="backups" value="2"/>
    <property name="cacheMode" value="PARTITIONED"/>
    <property name="evictionPolicy">
        <bean class="org.apache.ignite.cache.eviction.fifo.FifoEvictionPolicy">
            <property name="maxSize" value="50"/>
        </bean>
    </property>
    <property name="memoryMode" value="OFFHEAP_VALUES"/>
    <property name="offHeapMaxMemory" value="#{1024L*1024L}"/>
</bean>
{code}
2. Start client
2.1. removeAll for cache_0001
2.2. put 60 entries
2.3. get 60 entries (same keys from previous step)
2.4. got 40 entries only




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)