ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1889) FIFO eviction for atomic cache after removeAll
Date Tue, 09 Aug 2016 12:33:29 GMT

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

Pavel Tupitsyn updated IGNITE-1889:
-----------------------------------
    Fix Version/s:     (was: 1.7)
                   1.8

> 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.8
>
>
> 1. Start 2 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)

Mime
View raw message