Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-593 Segment-based MK
  3. OAK-631

SegmentMK: Implement garbage collection

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.20
    • segmentmk
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              jukkaz Jukka Zitting
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: