Actions
Bug #7346
closedAn unfound object as part of multi-object delete should return deleted instead of error
% Done:
0%
Source:
Support
Tags:
Backport:
dumpling
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Upon trying to issue a multiple delete operation on a bucket that contains an unfound object, we return:
<DeleteResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Error>
<Key>92.jpg</Key>
<Code>404</Code>
<Message>NoSuchKey</Message>
</Error>
</DeleteResult>
We should be returning a "Deleted" result instead of an "Error" as described in the S3 API documentation:
"Note that, if the object specified in the request is not found, Amazon S3 returns the result as deleted."
A Sample of the expected response would be:
<DeleteResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Deleted>
<Key>sample1.txt</Key>
</Deleted>
</DeleteResult>
Actions