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

Galder Zamarreño (Updated) (JIRA) jira-events at lists.jboss.org
Mon Jan 9 07:54:10 EST 2012


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

Galder Zamarreño updated ISPN-1645:
-----------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done

    
> 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