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

SIFS write/delete/containsKey(...) exception handling does not conform to NonBlockingStore contract

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

XMLWordPrintable

    Currently, when the NonBlockingSoftIndexFileStore.write(...) method fails to marshal a given key or value, it throws a PersistenceException, which is not necessarily handled by the caller (e.g. PassivationManagerImpl), which expects a CompletionStage. According to the NonBlockingStore contract, this method should instead return a CompletableFuture that has completed exceptionally.

    This behavior causes regressions in WildFly - which validates that passivation of a non-marshallable cache entry will not receive a post passivation event.

    The delete(...) and containsKey(...) methods have similar exception handling issues.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Archiver:
            rhn-support-adongare Amol Dongare

              Created:
              Updated:
              Resolved:
              Archived: