You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2012/07/16 08:24:35 UTC

[jira] [Resolved] (TS-1287) Need a way to do garbage collection when cache entry deleted

     [ https://issues.apache.org/jira/browse/TS-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-1287.
-------------------------------

    Resolution: Invalid

yeah, this is just the way the cache works. The storage will be reclaimed at some later time, when it is needed for a new object. Deleteing an object out of cache just makes it unreachable, as you've discovered.
                
> Need a way to do garbage collection when cache entry deleted
> ------------------------------------------------------------
>
>                 Key: TS-1287
>                 URL: https://issues.apache.org/jira/browse/TS-1287
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 3.0.0
>            Reporter: Hua Cai
>
> we are developing a cache system based on traffic server SDK in which we hope to select cache entries to delete by our own algorithm. We use "TSCacheRemove" to delete cache entries. However, it seems that the space occupied by the cache entry does not released from cache storage. 
> we really hope to know how to recycle cache resource.
> by the way, we found that when the storage was full, further "cache wirte" would still success. But when we tried to read those cache enties, we got "NO DOC" failure.    

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