Bug 797265 - Unwanted eviction
Summary: Unwanted eviction
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Build
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 6.0.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 17:45 UTC by Michal Linhard
Modified: 2014-03-31 11:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker AS7-3917 0 Major Resolved Eviction gets enabled even when strategy==NONE w/Infinispan 5.1.2/5.2.x 2014-03-31 12:05:40 UTC
Red Hat Issue Tracker ISPN-1869 0 Major Resolved EvictionConfigurationBuilder.validate() should warn if user setd a maxEntry but forgot strategy 2014-03-31 12:05:40 UTC

Description Michal Linhard 2012-02-24 17:45:28 UTC
eviction is set to limit data load to 10000 entries, even though it isn't configured.

see http://hudson.qa.jboss.com/hudson/view/EDG6/view/EDG-QE/job/edg-60-experiments-mlinhard/210/

Comment 1 Michal Linhard 2012-02-25 20:25:01 UTC
Seems like this default is being honored:
https://github.com/jbossas/jboss-as/blame/master/clustering/infinispan/src/main/resources/infinispan-defaults.xml

I wonder why this hasn't been a problem before ... it's been there for a while...

Comment 2 Tristan Tarrant 2012-02-27 09:40:05 UTC
This is caused by bad interaction between ISPN-1869 and AS7's defaults.

Comment 3 Tristan Tarrant 2012-02-27 10:32:34 UTC
Workaround: add <eviction strategy="NONE" maxEntries="0" /> to work around this issue

Comment 4 Tristan Tarrant 2012-03-01 14:18:30 UTC
As soon as we get an EAP build based on 7.1.1 which will pull in Infinispan 5.1.2 this should be fixed

Comment 5 Ondrej Nevelik 2012-03-29 19:06:57 UTC
Fixed. Verified by removing <eviction-strategy=NONE max-entries=0/> from our configs and running a test, no entries are evicted, see chart - https://bugzilla.redhat.com/show_bug.cgi?id=797265


Note You need to log in before you can comment on or make changes to this bug.