Why an object is gone after delete request even when object lock is enabled ?
Applies to
- NetApp StorageGRID
- Object Lock
Answer
This is the default behaviour and is compliant with Amazon S3.
Although a protected object version cannot be deleted, a delete marker can still be created for an object when only the object key is profided instead of the key + version id (as seen in s3 versioning definition):
Placing a delete marker on an object doesn't delete the object or its object versions but marks the version as non-current which hides the object from normal listing operations. Object version can be made current (visable) again with a S3 client as long as retention has not expired.