]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...`
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 18 Sep 2019 22:25:50 +0000 (18:25 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Mon, 4 May 2020 17:20:08 +0000 (13:20 -0400)
commite396064d9afa6fcba7b6bb1e3a500ef9e718e0d2
tree5fd0c81f87eccb4822f9cbe6a569d71accc7897f
parenteaa8f66ec0e045df161b219506906568345a0b83
rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...`

Adds a `radosgw-admin` subcommand and walks the associated bucket
indices and manifests to generate the list of rados objects that
represent the rgw objects in the bucket(s).

Also adds a tool named `rgw-orphan-list`, which uses the radoslist
subcommand, that produces a list in a local file of what appear to be
rgw orphans.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
13 files changed:
ceph.spec.in
debian/radosgw.install
src/rgw/CMakeLists.txt
src/rgw/rgw-orphan-list [new file with mode: 0755]
src/rgw/rgw_admin.cc
src/rgw/rgw_op.h
src/rgw/rgw_orphan.cc
src/rgw/rgw_orphan.h
src/rgw/rgw_rados.cc
src/rgw/services/svc_tier_rados.h
src/test/cli/radosgw-admin/help.t
src/tools/CMakeLists.txt
src/tools/ceph-diff-sorted.cc [new file with mode: 0644]