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 "Michael Marth (JIRA)" <ji...@apache.org> on 2013/12/09 12:16:08 UTC

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

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

Michael Marth updated OAK-631:
------------------------------

    Assignee: Jukka Zitting

> 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
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.15
>
>
> 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 was sent by Atlassian JIRA
(v6.1.4#6159)