[
https://issues.jboss.org/browse/ISPN-5874?page=com.atlassian.jira.plugin....
]
William Burns commented on ISPN-5874:
-------------------------------------
An example is the following
{code}
CacheSet<Map.Entry<Integer, String>> entrySet = cache.entrySet();
assertEquals(10, createStream(entrySet).sorted((e1, e2) -> Integer.compare(e1.getKey(),
e2.getKey())).mapToInt(Map.Entry::getKey).count());
{code}
Distributed Stream sort with non sorted terminal operation can fail
-------------------------------------------------------------------
Key: ISPN-5874
URL:
https://issues.jboss.org/browse/ISPN-5874
Project: Infinispan
Issue Type: Bug
Affects Versions: 8.1.0.Alpha1
Reporter: William Burns
Assignee: William Burns
Using a sort intermediate operation when another intermediate operation is applied before
sort and then invoking a terminal operation that doesn't pay attention to sorting
doesn't apply the other intermediate operations properly, causing issues such as CCE
and others.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)