ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Kozlov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1889) FIFO eviction for atomic cache after removeAll
Date Wed, 11 Nov 2015 12:25:11 GMT
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)

Mime
View raw message