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

Distributed executor does not fail over unless future.get() is called

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • 10.0.0.Final
    • 8.2.6.Final, 9.0.0.Final
    • Core
    • None

      After ISPN-6392, DistributedExecutorService.submit(...) nominally returns a CompletableFuture. However, it doesn't behave like a regular CompletableFuture, because it doesn't run the failure policy until the user calls future.get().

      future.isComplete() will return true before running the failure policy, and future.whenComplete(callback) will also execute the callback before running the failure policy.

              wburns@redhat.com Will Burns
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: