Table of Contents |
---|
...
The purpose of appending the "later lifepoints" to the lock lifepoint is to allow Swarm to act on them as it normally would have does once the lock lifepoint has expired naturally, without any intervention from Gateway. For legal hold there must always be a Gateway intervention to remove the lock, so the original lifepoints get reinstated at that time.
...
Differences Between S3 and Swarm's Implementation of Object Locking
In S3, a DELETE request would result 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:
...