[infinispan-issues] [JBoss JIRA] (ISPN-1645) FileCacheStore.purgeInternal() not removes empty Bucket files

Manik Surtani (Updated) (JIRA) jira-events at lists.jboss.org
Sun Jan 8 17:54:09 EST 2012


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

Manik Surtani updated ISPN-1645:
--------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/797

    
> FileCacheStore.purgeInternal() not removes empty Bucket files
> -------------------------------------------------------------
>
>                 Key: ISPN-1645
>                 URL: https://issues.jboss.org/browse/ISPN-1645
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores
>    Affects Versions: 5.1.0.CR2
>            Reporter: Thomas Fromm
>            Assignee: Manik Surtani
>             Fix For: 5.1.0.CR3
>
>
> FileCacheStore leaves empty files inside storage directory after remove of cache entries.
> During a purgeInternal (by reaper thread) these files are found, but cannot be removed because loadBucket(..) always return null, because bucketFile.length() == 0. So updateBucket(..) will never reached and these files don't get removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list