Bug 1204759

Summary: Eviction configuration must be enforced in Near Caches
Product: [JBoss] JBoss Data Grid 6 Reporter: Galder Zamarreño <galder.zamarreno>
Component: InfinispanAssignee: Galder Zamarreño <galder.zamarreno>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: jdg-bugs, rmarwaha, slaskawi, vjuranek
Target Milestone: ER1   
Target Release: 6.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-23 12:24:54 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 Galder Zamarreño 2015-03-23 13:11:40 UTC
If near cache is enabled, users should define the maximum number of elements to store in it. This is important to avoid clients running out of memory as a result of using near caching. In the current set up, when someone enables near caching, the local cache is unbounded. The best approach is to force clients to define a maximum number of elements if enabling near caching. 0 would be unlimited.