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

BlobIds created with direct uploads lack length suffix

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.12.0, 1.10.2
    • Fix Version/s: 1.10.3, 1.14.0
    • Component/s: blob-plugins
    • Labels:
      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

            • Assignee:
              amitjain Amit Jain
              Reporter:
              amitjain Amit Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: