Bug 919423

Summary: Carmart quickstart has low max-entries for eviction
Product: [JBoss] JBoss Data Grid 6 Reporter: Jakub Markos <jmarkos>
Component: unspecifiedAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: anistor, gsheldon, jdg-bugs, mhusnain, myarboro
Target Milestone: ER2   
Target Release: 6.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
The README file for the Carmart example suggests configuring the cache with eviction and max-entries equal to 4. As a consequence, when opening car's details in the application, the resulting page might be empty as some required cache entries had been already evicted from the cache. This problem occurs only in Remote Client-Server mode. </para> <para> It is recommended that eviction not be used when configuring the quickstart in Remote Client-Server mode (exclude the &lt;eviction&gt; element). This will allow all cache entries to remain in the cache and details for all cars to be available to the application.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-26 14:03:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Markos 2013-03-08 12:27:21 UTC
Carmart quickstart for EAP in client-server mode (other modes are OK because they use cache store) has eviction max-entries set to 4, which causes confusing behaviour (cars are being evicted, but are still listed on the main page).

Comment 1 Martin Gencur 2013-03-08 13:20:31 UTC
The workaround here is not to use eviction - i.e. remove the eviction configuration from a readme file which suggests using it. If we stil want to use eviction, we would need to add some logic to the application, like a cache listener which listens for events related to eviction and changes the list of stored cars (stored under a special key as an array list). IMO we could just remove the eviction configuration.

Comment 5 Misha H. Ali 2013-05-07 03:40:41 UTC
Set flag to nominate bug for 6.2 release notes.

Comment 6 Misha H. Ali 2013-06-18 04:19:11 UTC
Changed doc type to known issue since it looks like this bug is open.

Comment 12 gsheldon 2014-01-09 06:43:48 UTC
removing requires_doc_text flag as this bug is not to be included in release notes.

Comment 13 Martin Gencur 2014-07-31 13:28:43 UTC
Removed the eviction configuration in my pull request.

Comment 14 Adrian Nistor 2014-08-11 17:26:49 UTC
PR integrated in master: https://github.com/jboss-developer/jboss-jdg-quickstarts/pull/49