]> 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>
Thu, 28 Apr 2022 18:02:34 +0000 (14:02 -0400)
commit77d96c7d736197d5872265d02aa6041a0db42453
tree813ad07c488504f10d205a9a0aa135f65d331649
parentda3d21fe868674631b6950d66cfa0b9159330b13
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