]
William Burns updated ISPN-8921:
--------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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, 9.2.1.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.