ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Gura <ag...@gridgain.com>
Subject Re: LruEvictionPolicy works not properly with IgniteCache.removeAll()?
Date Mon, 28 Dec 2015 15:25:07 GMT

thank you for your bug report. I created ticket
https://issues.apache.org/jira/browse/IGNITE-2307 that describes your

For atomic cache internal queue of eviction policy contains all added
elements after removeAll invocation while it is empty for transactional
cache. So atomic cache just doesn't notify eviction policy about entry

On Mon, Dec 28, 2015 at 11:54 AM, Yakov Zhdanov <yzhdanov@apache.org> wrote:

> It seems that in this case eviction policy does not get notified properly
> and most probably its internal queue differs from what is actually in
> cache. Can anyone take a look?
> --Yakov
> 2015-12-25 7:54 GMT+03:00 Lin <me@linlyu.com>:
>> With printing code before last assertion, we can see the contents remains
>> in the case is,
>> LruEvictionExample.testPutAll entry Entry [key=3, val=new3]
>> LruEvictionExample.testPutAll entry Entry [key=6, val=new6]
>> LruEvictionExample.testPutAll entry Entry [key=1, val=new1]
>> LruEvictionExample.testPutAll entry Entry [key=4, val=new4]
>> the 2->new1 is removed unexpectedly.

Andrey Gura
GridGain Systems, Inc.

View raw message