]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 2 Feb 2022 00:01:59 +0000 (19:01 -0500)
commit804dc9519e93f805bdbed24f47045496b1a8ca63
tree04ca476dc3faaf39e432a22f788b7606e7c0ce1a
parent421fd2de8e334158c3d48c136e37918027b01b54
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