Uploaded image for project: 'Hibernate ORM'
  1. HHH-9776

org.hibernate.cache.infinispan.impl.BaseRegion.getElementCountInMemory() is no longer correct

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      As of Infinispan 7, Cache.size() returns the total size of the cluster-wide cache space. This method should use cache.getAdvancedCache().withFlags(Flag.CACHE_MODE_LOCAL, Flag.SKIP_CACHE_LOAD).size() to return just the in-memory entries.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: