CPC G06F 16/2255 (2019.01) [G06F 16/1873 (2019.01)] | 20 Claims |
1. A method, comprising:
performing, by a computer system that implement a distributed storage system:
storing a plurality of versioned and non-versioned data objects;
for a bucket configured to enable versioning:
receiving a mutation request to mutate a versioned data object in the bucket;
in response to the mutation request, creating a new version of the versioned data object in the bucket in accordance with the mutating request;
receiving a first deletion request for the versioned data object, wherein the first deletion request does not specify a version identifier of the versioned data object;
in response to the first deletion request, performing a logical deletion of the versioned data object that does not permanently delete any version of the versioned data object;
receiving a second deletion request for the versioned data object, wherein the second deletion request specifies a particular version identifier of a particular version of the versioned data object; and
in response to the second deletion request, performing a permanent deletion of the particular version of the versioned data object.
|