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

DistributedTaskPart.equals() implementation is wrong

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

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)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: