[infinispan-issues] [JBoss JIRA] (ISPN-5558) DistributedTaskPart.equals() implementation is wrong

RH Bugzilla Integration (JIRA) issues at jboss.org
Thu Aug 20 05:20:27 EDT 2015


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

RH Bugzilla Integration commented on ISPN-5558:
-----------------------------------------------

Matej Čimbora <mcimbora at redhat.com> changed the Status of [bug 1232733|https://bugzilla.redhat.com/show_bug.cgi?id=1232733] from ON_QA to VERIFIED

> DistributedTaskPart.equals() implementation is wrong
> ----------------------------------------------------
>
>                 Key: ISPN-5558
>                 URL: https://issues.jboss.org/browse/ISPN-5558
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, Distributed Execution and Map/Reduce
>    Affects Versions: 7.2.2.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 8.0.0.Beta1, 7.2.4.Final, 8.0.0.Final
>
>
> {{DistributedExecutorService.submitEverywhere()}} returns a list of futures, one future for each targeted node. Because of how {{DistributedTaskPart.equals()}} is implemented, all the futures in the list appear to be equal, even though their target node is different and their result will also be different.
> The simplest fix would be to remove the equals() and hashCode() overloads from {{DistributedTaskPart}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the infinispan-issues mailing list