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

Fix error using Document.MoveToColdStorage on objects greater than 5GB

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2021.0
    • Fix Version/s: 2021.52, 2023.10
    • Component/s: ColdStorage, S3
    • Release Notes Summary:
      S3 objects are sent to Glacier using the async transfer api
    • Backlog priority:
      850
    • Sprint:
      nxplatform #108
    • Story Points:
      3

      Description

      Attempting to move a Document with blob greater than 5GB in size to Cold Storage results in the following error:

      com.amazonaws.services.s3.model.AmazonS3Exception: The specified copy source is larger than the maximum allowable size for a copy source: 5368709120 
      

      This occurs because ultimately the copyObject(copyObjectRequest) method is used which has a 5GB limit (see S3BlobStore.java:862, AWS S3 SDK doc). Files larger than this should be copied using a multipart process.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: