Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32788

Fix S3BlobScroll on Blob Provider with KeyStrategyDocId

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2021.38
    • Fix Version/s: 2021.x, 2023.x, 2025.x
    • Component/s: BlobManager
    • Release Notes Summary:
      S3 Record blob providers are now properly scrolled
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #122, nxplatform #123
    • Story Points:
      5

      Description

      As described in NXP-32180, an S3BlobProvider using a S3 bucket with versioning enabled AND with a KeyStrategyDocId (such as the record blob provider) stores blobs in a s3 bucket with keys of the form :

      {providerId}:{docId}@{versionId}
      

      However, when scrolling the blobs of such a provider, we only list the objects of the bucket (not each version) and we end up with keys like:

      {providerId}:{docId}
      

      which produces invalid keys that are not garbage collected (i.e. ignored) during a Full GC.

      However, the record blob provider does not create orphaned blobs as mentioned in NXP-32787, and should not be garbage collected anyway.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: