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

DistributedTaskPart.equals() implementation is wrong

XMLWordPrintable

      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.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: