]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: allow multipart upload abort to proceed
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 25 Jun 2019 20:07:35 +0000 (16:07 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 12 Jul 2019 18:09:40 +0000 (14:09 -0400)
commite1539ef9c8833c80c786f727f24cfd1888bd7de8
treef0948b14021e6df77a031d6bd0027932e46bc351
parent6ac795a266b802d40086d0a664964097794d516d
rgw: allow multipart upload abort to proceed

Cleaning up after aborting unfinished multipart uploads is a
best-effort process. Due to the history of the multipart upload, not
all components may be found and the process needs to be robust to
that.

Presently, if a component is not found after the final call to
list_bucket_multiparts, the error propogates to the caller, but not if
the component is not found in an earlier call. This change does not
propogate that error up ever.

Additional logging is also added to multipart-related functions.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 51aff62ac7cbb4653e0de667dccfa46795ffd8cb)
src/rgw/rgw_multi.cc