]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: add indexless bucket logic to "bucket radoslist"
authorJ. Eric Ivancich <ivancich@redhat.com>
Mon, 17 Jan 2022 21:14:16 +0000 (16:14 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:33 +0000 (15:47 -0400)
commit10b785816f52dd9668a1e0f77671066827b96631
tree4d9b7b50df31ea0a95b9c43dbc9a38b62d8de024
parent194b0de182e5120b7e6f646bb279cd7831e9749f
rgw: add indexless bucket logic to "bucket radoslist"

The "bucket radoslist" sub-command of radosgw-admin is supposed to
list all rados objects tied to one or all directories and thereby
provide a way to determine orphaned rados objects.

But indexless buckets don't provide an index to employ for this
purpose. So warnings or errors should be provided depending on the
circumstances.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_orphan.cc
src/rgw/rgw_orphan.h