[
https://issues.jboss.org/browse/ISPN-6125?page=com.atlassian.jira.plugin....
]
Martin Gencur updated ISPN-6125:
--------------------------------
Steps to Reproduce:
1. Set eviction like <eviction strategy="LRU" max-entries="10"/>
in a JDG server.
2. Put more entries than the max-entries.
3. Check Statistics.evictions and ClusterCacheStats.evictions MBeans
was:
1. Set eviction like <eviction strategy="LRU" max-entries="10"/>
in a JDG server.
2. Put more entries than the max-entries.
3. Check Statistics.evictions and ClusterCacheStats.evictions of the cache in JConsole.
JMX attribute evictions is always zero in Statistics and
ClusterCacheStats MBeans
----------------------------------------------------------------------------------
Key: ISPN-6125
URL:
https://issues.jboss.org/browse/ISPN-6125
Project: Infinispan
Issue Type: Bug
Components: Core, Eviction
Affects Versions: 8.1.1.Final
Reporter: Martin Vrabel
Description of problem:
Eviction is working because numberOfEntries never exceeds maxEntries. But
"evictions" attribute displays always 0 in JMX.
How reproducible:
Always.
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)