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

Functional API does not load values from cache loader on non-primary owners

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.2.3.Final, 9.0.0.Final
    • 8.2.1.Final
    • Core
    • None

      We have a cluster in DIST mode with numOwners > 1, so there are primary and secondary owners, with persistence enabled. When I do a read-write operation on the cluster using the Functional API on a key that is present in the cache loader, the entry that gets passed to the functional operation has a non-null value only for the primary owner. See:

      org.infinispan.interceptors.ClusteredCacheLoaderInterceptor.skipLoadForWriteCommand()
      line 53.

      This is using non-transactional cache.

      NOTE: The attached tests are modified version of the ones in ISPN-6573.

              ksobolewski_jira Krzysztof Sobolewski (Inactive)
              ksobolewski_jira Krzysztof Sobolewski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: