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

Reply via email to