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

Don't log errors when retention not in compliance mode and bucket has no object lock

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.8
    • Component/s: BlobManager, Retention, S3
    • Team:
      FG

      Description

      When retention is not in compliance mode (i.e., is in governance mode), there is no need for an underlying bucket to have object lock activated, which means that the regular bucket (not configured for records mode) can be used.

      However in this situation currently the backend still attempts to set retention (or a legal hold) on the underlying blob, which fails because it only works when object lock is activated on the bucket, and an error is logged.

      —> change the code to detect this situation and not attempt to set retention or legal hold on the underlying blob

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 hours
                  2h