[infinispan-issues] [JBoss JIRA] (ISPN-2317) Distributed Callable with automatic filled keys in environment where current node = owner

Thomas Fromm (JIRA) jira-events at lists.jboss.org
Tue Jul 2 06:26:21 EDT 2013


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

Thomas Fromm commented on ISPN-2317:
------------------------------------

"where the current node is the primary owner" should be the text in the ticket. So with this DistCallable I've a workaround to process every entry once. But I need to walk through every entry and check if the current node is the primary owner.

However, I think this can also be solved when misuse M/R for that. Lets close it.
                
> Distributed Callable with automatic filled keys in environment where current node = owner
> -----------------------------------------------------------------------------------------
>
>                 Key: ISPN-2317
>                 URL: https://issues.jboss.org/browse/ISPN-2317
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Distributed Execution and Map/Reduce
>    Affects Versions: 5.1.7.Final
>            Reporter: Thomas Fromm
>            Assignee: Vladimir Blagojevic
>
> In a distributed cache I need to process every key one time. My solution is ATM to create a distributed call and on every node walk through the keyset of the cache and process every node, where the current node is the owner.
> This solution works, but is not really nice.
> I'd like to have a specific Distributed callable for this or an flag/option to enable that the keys where the current node is owner are used at setEnvironment(...).

--
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