[infinispan-issues] [JBoss JIRA] (ISPN-2923) provides an optimal way to search and retrieve the first non null value

Mircea Markus (JIRA) jira-events at lists.jboss.org
Tue May 7 06:30:54 EDT 2013


    [ https://issues.jboss.org/browse/ISPN-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772584#comment-12772584 ] 

Mircea Markus commented on ISPN-2923:
-------------------------------------

thanks for the clarification, indeed it makes sense to be able to stop a map reduce task before storming all the entries in the cache. 
                
> 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
>            Assignee: Vladimir Blagojevic
>            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 ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list