[infinispan-issues] [JBoss JIRA] Created: (ISPN-336) Entries loaded via loadAll not being checked for expiration

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Mon Jan 18 13:07:47 EST 2010


Entries loaded via loadAll not being checked for expiration
-----------------------------------------------------------

                 Key: ISPN-336
                 URL: https://jira.jboss.org/jira/browse/ISPN-336
             Project: Infinispan
          Issue Type: Bug
          Components: Loaders and Stores
    Affects Versions: 4.0.0.CR3
            Reporter: Galder Zamarreno
            Assignee: Galder Zamarreno
             Fix For: 4.0.0.GA


Those keys loaded initially from CacheLoader via loadAll method do not obey expiration rules unless they are modified. Just after first change they expire following lifespan and maxIdle values.

It's interesting that we do check for expiration in some cases such as BucketBasedCacheStore when loading an individual. We should probably do it regardless of the type of cache loader used. IOW, we should probably move the check to CacheLoaderInterceptor or similar.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list