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

L1 entries not always stored as L1InternalCacheEntry

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

XMLWordPrintable

      DistributedClusteringLogic.commitSingleEntry is using regular Metadata instead of L1Metadata when storing entries that are not owned by the local node. The entry will then be stored as a regular MortalCacheEntry instead of an L1InternalCacheEntry.

      In non-transactional mode, I believe this can only happen if the node was an owner at the time of entry wrapping. I'm not sure if the same applies in transactional caches.

      BaseDistFunctionalTest.assertOwnershipAndNonOwnership() assumes L1 entries are stored as L1InternalCacheEntries, so at the very least the mismatch results in random test failures in BaseDistFunctionalTest subclasses like ConcurrentJoinTest. It may result in stale data as well.

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

                Created:
                Updated:
                Resolved:
                Archived: