Skip to main content
NetApp Knowledge Base

Is it a fixed number for noncurrent versions retained in a versioned S3 bucket prior to StorageGRID v11.7?

Views:
20
Visibility:
Public
Votes:
0
Category:
storagegrid-webscale
Specialty:
esg
Last Updated:

Applies to

Answer

  • What's new in StorageGRID 11.7 mentions that NewerNoncurrentVersions action can specify the number of noncurrent versions retained in a versioned S3 bucket.
  • But It does not mean the number of versions to retain is fixed for StorageGRID 11.60 or earlier.
  • Before v11.7, only the following method was supported for managing the rotation of versioned objects:

Bucket lifecycle: Use the NoncurrentVersionExpiration action in the bucket lifecycle configuration. When the number of NoncurrentDays specified is met, StorageGRID permanently removes all copies of noncurrent object versions. These object versions can't be recovered.

Additional Information

From StorageGRID StorageGRID 11.7

NewerNoncurrentVersions threshold for S3 buckets

The NewerNoncurrentVersions action in the bucket lifecycle configuration specifies the number of noncurrent versions retained in a versioned S3 bucket. This threshold overrides lifecycle rules provided by ILM. See How objects are deleted.

How objects are deleted

  • Bucket lifecycle: Use the NoncurrentVersionExpiration action in the bucket lifecycle configuration. When the number of NoncurrentDays specified is met, StorageGRID permanently removes all copies of noncurrent object versions. These object versions can't be recovered.

The NewerNoncurrentVersions action in the bucket lifecycle configuration specifies the number of noncurrent versions retained in a versioned S3 bucket. If there are more noncurrent versions than NewerNoncurrentVersions specifies, StorageGRID removes the older versions once the NoncurrentDays value has elapsed. The NewerNoncurrentVersions threshold overrides lifecycle rules provided by ILM, meaning that a noncurrent object with a version within the NewerNoncurrentVersions threshold is retained if ILM requests its deletion.

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.