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

Downloadable status should rely on the restore expiration time

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      nxApps 2021 Cycle 5
    • Story Points:
      2

      Description

      Getting Blob status from its provider seems to send downloadable false where it should be true.

      Scenario:

      • upload content to S3 Main bucket => Standard storage class
      • move content to Glacier => after life cyle transition => Glacier storage class

      Issue:

      get blob status using S3BlobProvider#getStatus return true where it should be false.
      this is related to the fact that the ongoing boolean is null ( three state boolean). Please note we didn’t ask for a restore

      As its main storage is Standards (the Life cycle transition doesn't happen yet)

       Proposal:
      we should rely on the class storage and the restore expiration time

      Storage Class S3 Expiration Time Downloadable
      Standard null/absent true
      Glacier null/absent false
      Glacier date true

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h