[infinispan-issues] [JBoss JIRA] (ISPN-10636) cache statistics are enabled even if the attribute is not set

Wolf-Dieter Fink (Jira) issues at jboss.org
Thu Sep 19 10:50:00 EDT 2019


Wolf-Dieter Fink created ISPN-10636:
---------------------------------------

             Summary: cache statistics are enabled even if the attribute is not set
                 Key: ISPN-10636
                 URL: https://issues.jboss.org/browse/ISPN-10636
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 10.0.0.CR2
         Environment: legacy Wildfly server
            Reporter: Wolf-Dieter Fink


The cache statistics are utilizized even if they are not configured

    <cache-container name="clustered" default-cache="default" statistics="true">
        ....
         <distributed-cache name="ExpirationCache">
            <memory><object size="2"/></memory>
         </distributed-cache>

the CLI command returns unexpected the statistics
[standalone at localhost:9990 /] /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=ExpirationCache:read-attribute(name=evictions)
{
    "outcome" => "success",
    "result" => 5L
}







--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the infinispan-issues mailing list