org.hibernate.cache.infinispan.impl.BaseRegion.getElementCountInMemory() is no longer correct
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.
Environment
None
Activity
Show:
Gail Badner
May 14, 2015, 9:35 PM
Closing to prepare for Hibernate ORM 4.3.10.Final release.
Gail Badner
May 13, 2015, 8:17 PM
Fixed in master and 4.3 branches.
Galder Zamarreno
May 11, 2015, 8:32 AM
I've pushed the fixes to master and sent a PR for 4.3 that Gail can have a look at.
Fixed
Assignee
Reporter
Labels
None
backPortable
None
Suitable for new contributors
None
Requires Release Note
None
Pull Request
None
backportDecision
None