[ https://issues.apache.org/jira/browse/IGNITE-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Konstantinov updated IGNITE-1380: --------------------------------------- Description: Start node with cache with near cache with configuration below. Put 200 keys, read 200 {code} <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="near-random-100"/> <property name="cacheMode" value="PARTITIONED"/> <property name="atomicityMode" value="ATOMIC"/> <property name="nearConfiguration"> <bean class="org.apache.ignite.configuration.NearCacheConfiguration"> <property name="nearEvictionPolicy"> <bean class="org.apache.ignite.cache.eviction.random.RandomEvictionPolicy"> <property name="maxSize" value="100"/> </bean> </property> </bean> </property> </bean> {code} Near cache contains more keys then I set in configuration (maxSize=100). was: Start node with cache with near cache with configuration below. Put 200 keys. {code} <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="near-random-100"/> <property name="cacheMode" value="PARTITIONED"/> <property name="atomicityMode" value="ATOMIC"/> <property name="nearConfiguration"> <bean class="org.apache.ignite.configuration.NearCacheConfiguration"> <property name="nearEvictionPolicy"> <bean class="org.apache.ignite.cache.eviction.random.RandomEvictionPolicy"> <property name="maxSize" value="100"/> </bean> </property> </bean> </property> </bean> {code} Near cache contains more keys then I set in configuration (maxSize=100). > Random eviction policy for near cache works incorrectly > ------------------------------------------------------- > > Key: IGNITE-1380 > URL: https://issues.apache.org/jira/browse/IGNITE-1380 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: ignite-1.4 > Reporter: Pavel Konstantinov > Assignee: Yakov Zhdanov > Fix For: ignite-1.4 > > > Start node with cache with near cache with configuration below. > Put 200 keys, read 200 > {code} > <bean class="org.apache.ignite.configuration.CacheConfiguration"> > <property name="name" value="near-random-100"/> > <property name="cacheMode" value="PARTITIONED"/> > <property name="atomicityMode" value="ATOMIC"/> > <property name="nearConfiguration"> > <bean > class="org.apache.ignite.configuration.NearCacheConfiguration"> > <property name="nearEvictionPolicy"> > <bean > class="org.apache.ignite.cache.eviction.random.RandomEvictionPolicy"> > <property name="maxSize" value="100"/> > </bean> > </property> > </bean> > </property> > </bean> > {code} > Near cache contains more keys then I set in configuration (maxSize=100). -- This message was sent by Atlassian JIRA (v6.3.4#6332)