]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: modify radoslist to better support the rgw-gap-list tool
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 18 Mar 2025 18:33:42 +0000 (14:33 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Thu, 20 Mar 2025 01:59:48 +0000 (21:59 -0400)
commitde2023f4fcac9144276e14814d428bb1edc7b85e
tree150a14774e3ec3bc9033fb2349db34ca16a6abc3
parent9d1ac190ffbeacfc6a243b4289ca2d70683c461c
rgw: modify radoslist to better support the rgw-gap-list tool

When the `radosgw-admin bucket radoslist ...` sub-command was
introduced, it was written specifically for finding orphans. It has
since been updated to work for finding gaps, that is indexed RGW
objects that are missing one or more supporting rados objects.

When a head object was not found, it was ignored. Now it does produce
output with the oid and related information for the missing head
object.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/radosgw-admin/orphan.cc