Bug 919423
Summary: | Carmart quickstart has low max-entries for eviction | ||
---|---|---|---|
Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Jakub Markos <jmarkos> |
Component: | unspecified | Assignee: | Tristan Tarrant <ttarrant> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Gencur <mgencur> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | 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 <eviction> 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
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. Set flag to nominate bug for 6.2 release notes. Changed doc type to known issue since it looks like this bug is open. removing requires_doc_text flag as this bug is not to be included in release notes. Removed the eviction configuration in my pull request. PR integrated in master: https://github.com/jboss-developer/jboss-jdg-quickstarts/pull/49 |