Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1300133

Summary: JMX attribute evictions is always zero in Statistics and ClusterCacheStats MBeans
Product: [JBoss] JBoss Data Grid 6 Reporter: Osamu Nagano <onagano>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5.1CC: chuffman, jdg-bugs, pzapataf, vjuranek, wfink
Target Milestone: ER1   
Target Release: 6.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The <literal>evictions</literal> attribute of <classname>Statistics</classname> and <classname>ClusterCacheStats</classname> components of the Cache MBean return zero even though some eviction operations have been successfully performed. This issue only affects statistics, not the actual eviction process. This is a known issue in Red Hat JBoss Data Grid 6.6.0, and no workaround exists at this time.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:48:44 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:
Bug Depends On:    
Bug Blocks: 1309749    

Description Osamu Nagano 2016-01-20 01:25:46 UTC
Description of problem:
Eviction is working because numberOfEntries never exceeds maxEntries.  But "evictions" attribute displays always 0 in JMX.

Version-Release number of selected component (if applicable):
JDG 6.5.1 (Infinispan 6.3.1.Final-redhat-1)

How reproducible:
Always.

Steps to Reproduce:
1. Set eviction like <eviction strategy="LRU" max-entries="10"/> in a JDG server.
2. Put entries more than the max-entries.
3. Check Statistics.evictions and ClusterCacheStats.evictions of the cache in JConsole.

Actual results:
evictions is always 0.

Expected results:
evictions should be the count of evicted entries.

Additional info:
This issue found in both of server and library modes.

Comment 4 JBoss JIRA Server 2016-02-04 08:59:00 UTC
Martin Gencur <mgencur> updated the status of jira ISPN-6125 to Coding In Progress

Comment 10 Red Hat Bugzilla 2025-02-10 03:48:44 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.