mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
Merge pull request #12793 from zhangsw/fix-rgw-abortmultipart
rgw: AbortMultipart request returns NoSuchUpload error if the meta obj doesn't exist Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
67ffcf895d
@ -5104,7 +5104,7 @@ void RGWAbortMultipart::execute()
|
||||
// and also remove the metadata obj
|
||||
op_ret = del_op.delete_obj();
|
||||
if (op_ret == -ENOENT) {
|
||||
op_ret = -ERR_NO_SUCH_BUCKET;
|
||||
op_ret = -ERR_NO_SUCH_UPLOAD;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user