Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5558

DistributedTaskPart.equals() implementation is wrong

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            dberinde@redhat.com Dan Berindei
            Reporter:
            dberinde@redhat.com Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: