[infinispan-issues] [JBoss JIRA] (ISPN-9150) Method RemoteCache.entrySet() works incorrectly
Sergey Chernolyas (JIRA)
issues at jboss.org
Tue May 15 10:14:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576754#comment-13576754 ]
Sergey Chernolyas edited comment on ISPN-9150 at 5/15/18 10:13 AM:
-------------------------------------------------------------------
Hi [~william.burns] !
I mean that only first call of entrySet() works incorrectly. Method "retriveEntries" works stably.
was (Author: schernolyas):
Hi [~william.burns]
I mean that only first call of entrySet() works incorrectly. Method "retriveEntries" works stably.
> Method RemoteCache.entrySet() works incorrectly
> -----------------------------------------------
>
> Key: ISPN-9150
> URL: https://issues.jboss.org/browse/ISPN-9150
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.1.Final
> Environment: # Cluster contains 2 hosts (each host have one instance of Infinispan)
> # Configuration have cache "Models". The cache have 2 key owners and 2 entities
> Reporter: Sergey Chernolyas
> Assignee: William Burns
>
> Method RemoteCache.entrySet() returns empty stream. Method RemoteCache.retrieveEntries works correctly in same time
> But if I do :
> {code:java}
> System.out.println(modelRemoteCache.entrySet().stream().collect(Collectors.toSet()).size());
> modelRemoteCache.entrySet().forEach(longModelEntry -> {
> System.out.println(":"+longModelEntry.getKey()+":"+longModelEntry.getValue());
> });
> {code}
> First row show size 0. But method "entrySet" will work correctly.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list