[infinispan-issues] [JBoss JIRA] (ISPN-8921) KeyStream stream operations use entrySet on remote nodes
William Burns (JIRA)
issues at jboss.org
Wed Mar 7 11:23:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542964#comment-13542964 ]
William Burns commented on ISPN-8921:
-------------------------------------
This is much more pervasive then originally thought - going through all the forEach methods as well.
> KeyStream stream operations use entrySet on remote nodes
> --------------------------------------------------------
>
> Key: ISPN-8921
> URL: https://issues.jboss.org/browse/ISPN-8921
> Project: Infinispan
> Issue Type: Bug
> Components: Streams
> Affects Versions: 9.2.0.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.3.0.Final
>
>
> Currently when a remote stream operation is performed it is always done using an entrySet. This causes a lot of overhead for keySet operations - especially if there is a store! We should support key based streams for remote nodes in addition to entry set.
> There is nothing stopping this currently, all we should need is an additional argument for StreamIteratorRequestCommand to say if it is keyset or entry set. Then the LocalStreamManaterImpl and IteratorHandler need very minor tweaks. This should help operations such as size when using a store quite a bit depending on the store implementation.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list