]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: remove prefix & delim params for bucket removal & mp upload abort 43913/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 12 Nov 2021 22:24:35 +0000 (17:24 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 12 Nov 2021 23:09:27 +0000 (18:09 -0500)
commit5156e4e7ce307f8ac6ee6dc36f7e546c93d17d55
treec73346f63e40b71d5adc2d71d1a3eca78fffc132
parent2a6fce4edcdef40146307faed63a9914eeba16b1
rgw: remove prefix & delim params for bucket removal & mp upload abort

The calls to remove a bucket had parameters to specify a prefix and
delimiter, which does not make sense. This was precipitated due to some
existing Swift protocol logic, but buckets are removed irrespective of
prefix and delimiter. So the functions and calls are adjusted to
remove those parameters. Additionally, those same parameters were
removed for aborting incomplete multipart uploads.

Additionally a bug is fixed in which during bucket removal, multipart
uploads were only removed if the prefix was non-empty.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_op.cc
src/rgw/rgw_rest_bucket.cc
src/rgw/rgw_sal.h
src/rgw/rgw_sal_dbstore.cc
src/rgw/rgw_sal_dbstore.h
src/rgw/rgw_sal_rados.cc
src/rgw/rgw_sal_rados.h
src/rgw/rgw_user.cc