You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/02/18 12:29:12 UTC

[jira] [Created] (OAK-631) SegmentMK: Implement garbage collection

Jukka Zitting created OAK-631:
---------------------------------

             Summary: SegmentMK: Implement garbage collection
                 Key: OAK-631
                 URL: https://issues.apache.org/jira/browse/OAK-631
             Project: Jackrabbit Oak
          Issue Type: Sub-task
          Components: segmentmk
            Reporter: Jukka Zitting
            Priority: Minor


The SegmentMK architecture allows segment-level garbage collection by looking at the cross-segment reference graph. A simple garbage collector would list all segments, remove those that are reachable through the graph starting from one of the journals, and finally remove all remaining segments.

Some "don't collect" flag or minimum lifetime information should be added to segments that are currently being written so they don't get removed before they get committed and thus referenced by a journal.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira