[ 
https://issues.apache.org/jira/browse/IGNITE-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Kozlov updated IGNITE-1889:
----------------------------------
    Description: 
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 and make following operations for cache_0001
2.1. put 100 entries
2.2. removeAll 
2.3. put 60 entries
2.4. get 60 entries (same keys from previous step)
2.5. got 40 entries only


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



> 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 and make following operations for cache_0001
> 2.1. put 100 entries
> 2.2. removeAll 
> 2.3. put 60 entries
> 2.4. get 60 entries (same keys from previous step)
> 2.5. got 40 entries only



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

Reply via email to