strato icon indicating copy to clipboard operation
strato copied to clipboard

Delete Object with specific version ID

Open nguptaopensds opened this issue 5 years ago • 2 comments

What this PR does / why we need it: This PR is for deleting the object with specific version ID

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer: DELETE Request URL http://<host_ip>:8089/v1/s3/<bucket_name>/<object_name>?versionId=<version_id>

Tested using postman image

Release note:

nguptaopensds avatar Jan 02 '20 07:01 nguptaopensds

The CI is failing because GET Object PR has some changes which are used in this PR, so if PR #855 is merged , the CI will pass

nguptaopensds avatar Jan 03 '20 11:01 nguptaopensds

Hi @nguptaopensds , as we discussed on slack before that currently, we have to be AWS S3 compatible, please check https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectVersioning.html. The current implementation of delete versioning object is not compatible with it. For example, what will happen if the user do not specify version id when delete an object when versioning is enabled?

sfzeng avatar Jan 06 '20 01:01 sfzeng