[infinispan-issues] [JBoss JIRA] (ISPN-4470) cache.keySet().size() returns different value than cache.size() for HotRod client

Martin Gencur (JIRA) issues at jboss.org
Thu Jul 3 03:12:24 EDT 2014


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

Martin Gencur commented on ISPN-4470:
-------------------------------------

size() on remote cache does not behave the same way, though. It returns only local cache size. So this issue is not about JavaDocs but about the (unexpected) difference in behavior.

> cache.keySet().size() returns different value than cache.size() for HotRod client
> ---------------------------------------------------------------------------------
>
>                 Key: ISPN-4470
>                 URL: https://issues.jboss.org/browse/ISPN-4470
>             Project: Infinispan
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.2.Final, 7.0.0.Alpha4
>            Reporter: Martin Gencur
>            Assignee: Galder Zamarreño
>            Priority: Critical
>             Fix For: 7.0.0.Beta1, 7.0.0.Final
>
>
> cache.keySet().size() returns the number of all keys in the cluster (even a distributed one) while cache.size() returns just local cache size (this might be different for a distributed cache)



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the infinispan-issues mailing list