[infinispan-issues] [JBoss JIRA] (ISPN-7624) Change CacheLoaderInterceptor to ignore in memory for certain operations when passivation is not enabled
William Burns (JIRA)
issues at jboss.org
Wed Mar 15 10:38:00 EDT 2017
William Burns created ISPN-7624:
-----------------------------------
Summary: 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.1.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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list