]
Dan Berindei reassigned ISPN-2923:
----------------------------------
Assignee: (was: Vladimir Blagojevic)
provides an optimal way to search and retrieve the first non null
value
-----------------------------------------------------------------------
Key: ISPN-2923
URL:
https://issues.jboss.org/browse/ISPN-2923
Project: Infinispan
Issue Type: Feature Request
Components: Distributed Execution and Map/Reduce
Affects Versions: 5.2.5.Final
Reporter: Mathieu Lachance
Priority: Minor
It would be nice if infinispan could provide a way to the common problem of searching and
retrieve the first non null value.
My attempt was to use the map reduce framework, but it would still scan all the keys and
value even if the result as been found. Maybe Infinispan could provide a way to
"stop" the map-reduce operation on all nodes when asked, ex, when the first non
null value has been found ?