[
https://issues.apache.org/jira/browse/SLING-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-2501.
--------------------------------------
Resolution: Fixed
Fix Version/s: JCR Jackrabbit Server 2.1.2
Thank you very much for the patch. I have applied it in Rev. 1346081 with two
modifications:
* The stop method throws an UnsupportedOperationException (which looks more
appropriate to me)
* The service registration method fully registers with all services such that
unregistration properly works
> 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
> Assignee: Felix Meschberger
> Labels: patch
> Fix For: JCR Jackrabbit Server 2.1.2
>
> 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