]
Katia Aresti updated ISPN-9754:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Cache size method should consult Shared cache stores when not async
-------------------------------------------------------------------
Key: ISPN-9754
URL:
https://issues.jboss.org/browse/ISPN-9754
Project: Infinispan
Issue Type: Sub-task
Affects Versions: 9.4.2.Final
Reporter: William Burns
Assignee: William Burns
Priority: Major
Fix For: 10.0.0.Alpha2, 9.4.3.Final
When we have a shared store we can just consult the store to find the size. Note that
passivation is not allowed with shared stores, so we don't have to worry about that
option.
This should allow for the size method to be much more performant as currently we always
have to iterate over all the contents. Some stores may do this internally for size, but at
least we have the option.