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

getBinaryReferences() may return null when using the split persistence

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.9
    • segment-tar
    • None

    Description

      When the new SplitPersistence is used for the SegmentMK, the getBinaryReferences() method may sometimes break the contract and return null. It will happen for the reader referencing an archive which hasn't been closed yet by another Oak instance (and therefore missing the .brf entry).

      Since the .brf file is unavailable in this case, we should at least return a valid, empty binary references structure.

      Attachments

        1. OAK-7805.patch
          9 kB
          Tomek Rękawek
        2. OAK-7805-blob-test.patch
          7 kB
          Amit Jain

        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: