Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

  • Retention – Specifies a fixed period of time ("retention period") during which the object remains locked. During this period, the object is WORM-protected and can not cannot be overwritten or deleted. After the period expires, the lock goes away automatically.

  • Legal hold – When applied, the object stays locked indefinitely. A legal hold does not expire; it must be explicitly removed.

...

Differences Between S3 and Swarm's Implementation of Object Locking

In S3, a DELETE request results in a delete marker, shadowing the locked object version. Swarm's implementation deviates from that logic – it rejects any DELETE requests for indelible objects with an HTTP 403 Forbidden error.

When Gateway gets a HTTP 403 Forbidden error from Swarm, it checks if the object is locked. Gateway simulates the S3 behavior creating a new (unlocked) object version, immediately followed by a DELETE, thus creating a delete marker.

For SCSP, use a configuration flag to pick the desired behavior:

...