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

BlobIds created with direct uploads lack length suffix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.12.0, 1.10.2
    • 1.10.3, 1.14.0
    • blob-plugins
    • None

    Description

      In the completeBlobUpload method in the DataStoreBlobStore class the returned blob id is not being appended with the length suffix even if the property in on.
      This causes the references returned for these blob ids to be different than what are returned from the BlobStore causing DSGC to treat the directly uploaded blob ids as candidates for deletion. These would then be deleted when they have sufficiently aged, depending on the configured blobMaxAgeInSecs.

      This issue surfaces only with the DocumentNodeStore as SegmentNodeStore round trips the id through Blob.getReference call which returns the length suffixed ids.

      Attachments

        Activity

          People

            amitjain Amit Jain
            amitjain Amit Jain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: