[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1291) FileCacheStore should not unnecessarily write files if bucket is empty

Manik Surtani (JIRA) jira-events at lists.jboss.org
Tue Aug 2 14:13:29 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manik Surtani updated ISPN-1291:
--------------------------------

        Summary: FileCacheStore should not unnecessarily write files if bucket is empty  (was: FileCacheStore implementation leads to purge duration of many minutes and sometimes many hours)
       Priority: Minor  (was: Major)
    Description: FileCacheStore should not unnecessarily write to a file (creating an empty file) if the bucket being written is empty  (was: Purging in FileCacheStore takes too long.

I have implemented a copy of FileCacheStore with the issues of ISPN-1286 resolved.
So the purgeInternal will both not block the whole application (uses cache key locks instead of a global lock and a large purge interval).

When adding a huge amount of data, the FileCacheStore writes many many thousands of files.
During each purge, all files will be touched - so the time to purge increases until it is no longer acceptable (several minutes to several hours).
)
     Complexity: Low


> FileCacheStore should not unnecessarily write files if bucket is empty
> ----------------------------------------------------------------------
>
>                 Key: ISPN-1291
>                 URL: https://issues.jboss.org/browse/ISPN-1291
>             Project: Infinispan
>          Issue Type: Quality Risk
>          Components: Loaders and Stores
>    Affects Versions: 4.2.1.FINAL, 5.0.0.CR8
>            Reporter: Robert Stupp
>            Assignee: Manik Surtani
>            Priority: Minor
>             Fix For: 5.0.0.FINAL
>
>
> FileCacheStore should not unnecessarily write to a file (creating an empty file) if the bucket being written is empty

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list