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

SegmentWriter saves references to external blobs

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The new SegmentWriteOperation#internalWriteStream method checks whether the input stream to write is a SegmentStream. If it's, writer will reuse existing block ids, rather than storing the whole stream.

      It should also check whether the blocks in SegmentStream comes from the same tracker / segment store. Otherwise this will create invalid references if someone invokes the internalWriteStream() method with a SegmentStream created externally.

      Attachments

        1. OAK_4307_2.patch
          5 kB
          Michael Dürig
        2. OAK-4307.patch
          5 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              tomek.rekawek Tomek Rękawek
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: