[infinispan-issues] [JBoss JIRA] (ISPN-6181) # Stores shows incorrect value

Martin Vrabel (JIRA) issues at jboss.org
Mon Feb 15 09:37:00 EST 2016


    [ https://issues.jboss.org/browse/ISPN-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163012#comment-13163012 ] 

Martin Vrabel commented on ISPN-6181:
-------------------------------------

[~vblagojevic] Hi, FYI stores by default will show some value, but the value that it shows isn't the number of cache store stores, but the number of puts. As you can see here https://github.com/infinispan/infinispan-management-console/blob/master/src/main/webapp/cache-status/cache-status.html. 

line 240 
<th># PUTS</th>
<td id="numberOfPuts">{{currentCacheStats.firstServerStats['clusterwide-stores'] | number}}</td>
line 308
<th># Stores</th>
<td id="numberOfStores">{{currentCacheStats.firstServerStats['clusterwide-stores'] | number}}</td>

I created a small PR https://github.com/infinispan/infinispan-management-console/pull/46 to fix this. So the real problem is that "clusterwide-cache-loader-stores" is 0. 


> # Stores shows incorrect value
> ------------------------------
>
>                 Key: ISPN-6181
>                 URL: https://issues.jboss.org/browse/ISPN-6181
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Console
>            Reporter: Martin Vrabel
>            Assignee: Vladimir Blagojevic
>
> Page: Caches -> select cache container -> select cache.
> Configuration of the cache: 
>  <replicated-cache name="replicatedCacheForStatisticsTesting" mode="SYNC" remote-timeout="30000" start="EAGER">
>                         <transaction mode="NONE"/>
>                         <eviction strategy="FIFO" size="10"/>
>                         <locking isolation="READ_COMMITTED" acquire-timeout="30000" concurrency-level="1000" striping="false"/>
>                         <file-store path="replicatedCacheForStatisticsTestingFileStore" purge="true" passivation="true"/>
> </replicated-cache>
>  When I put 10 entries in the cache , this field #stores show 10 but should be 0. When I insert another 10 entries the number is still 0 but should be 20



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list