]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: allow rgw-orphan-list to note when rados objects are in namespace 37572/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 6 Oct 2020 19:21:02 +0000 (15:21 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Wed, 7 Oct 2020 12:51:50 +0000 (08:51 -0400)
commitddf52016fa03ba192f242ad641a5c8e5a95035a1
tree65547c74a1c0eeb11d9b82111d91339e3bee2ce5
parent935359d8b9080dc16fbebb8ff42044b3fc448c64
rgw: allow rgw-orphan-list to note when rados objects are in namespace

Currently namespaces and locators are ignored when `rados ls` is run
by rgw-orphan-list to record RADOS's known objects.

However there have been cases where RADOS objects have a locator, and
when one is included in the listing, the script does not handle it
correctly. Now when objects have locators, we will prevent their
output from entering the .intermediate file.

Additionally we do not expect RGW data objects to be in RADOS
namespaces, so when a namespaced object is detected, we'll error out
with a message.

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