Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5024

Improve the usage of the SegmentWriter for compaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.13, 1.6.0
    • segment-tar

    Description

      I would like to improve how the SegmentWriter is used for compaction. In particular I dislike how the SegmentBufferWriter needs to be looped into SegmentWriter.writeNode().
      Furthermore creating a SegmentWriter for offline compaction with its own cache (instead of using the caches we have) is a bit wasteful wrt. to memory.

      Attachments

        1. OAK-5024.patch
          10 kB
          Michael Dürig

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: