Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6125

JMX attribute evictions is always zero in Statistics and ClusterCacheStats MBeans

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Hide

      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

      Show
      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

      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.

              mgencur Martin Gencur
              mvrabel_jira Martin Vrabel (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: