]
Galder Zamarreño updated ISPN-7624:
-----------------------------------
Fix Version/s: 9.4.0.Final
(was: 9.3.0.Final)
Change CacheLoaderInterceptor to ignore in memory for certain
operations when passivation is not enabled
--------------------------------------------------------------------------------------------------------
Key: ISPN-7624
URL:
https://issues.jboss.org/browse/ISPN-7624
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Reporter: William Burns
Assignee: William Burns
Fix For: 9.4.0.Final
CacheLoader currently reads all in memory entries and then the store for bulk operations.
This can be changed to only load from the store when passivation is not used as it should
contain all entries that aren't in memory.
The only issue is that if Flag.SKIP_CACHE_STORE was used on a write. In this case we
could store a boolean in the interceptor so that if this Flag is ever used we always do
both. Very few users use this Flag and it should improve performance a bit and entries
should be seen more consistently.