[ 
https://issues.apache.org/jira/browse/SLING-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288581#comment-13288581
 ] 

Dragos Dascalita Haut edited comment on SLING-2501 at 6/4/12 2:29 PM:
----------------------------------------------------------------------

I've included the patch exposing DataStoreGarbageCollector. 

I wanted to also include some tests, but I wasn't sure if the GC behavior 
included in jackrabbit-core should be in the scope for the integrations tests 
in Sling. If they should be, then I can create another patch, adding a test 
that does multiple file uploads, runs the GC, and then checks the disk usage of 
the dataStore folder to see if it decreased in size. 
                
      was (Author: dragos.dascalita):
    I've included the patch exposing DataStoreGarbageCollector.
                  
> Expose DataStore GarbageCollector to be able to clean deleted filed from the 
> Repository
> ---------------------------------------------------------------------------------------
>
>                 Key: SLING-2501
>                 URL: https://issues.apache.org/jira/browse/SLING-2501
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit Server 2.1.0
>            Reporter: Dragos Dascalita Haut
>              Labels: patch
>         Attachments: 
> exposing_GC_from_SlingServerRepository_to_be_able_to_clean_JCR_DataStore.patch
>
>
> Currently Sling is not exposing any mean to be able to perform GC operations 
> on a JCR Repository. In this way, a repository managing larger docs, images, 
> and especially videos, may grow in size rapidly and there is no way to clean 
> the disk when files are deleted. 
> It would be nice to have the RepositoryManager exposed through 
> SlingServerRepository, and thus be able to create a Date Store Garbage 
> Collector and clean the repository. 

--
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

        

Reply via email to