]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: 'bi purge' doesn't require entrypoint 43591/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 19 Oct 2021 17:09:15 +0000 (13:09 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 20 Oct 2021 15:21:39 +0000 (11:21 -0400)
commit94db3409178ad6986609fd9c4dd9b152a4722f7c
treef79349de2a701925990f2ea7b3a1dfce059c6d9c
parentf61215d85766efc649319fdcca505d5e3e347b3e
radosgw-admin: 'bi purge' doesn't require entrypoint

we may get -ENOENT looking up cur_bucket here. we look up cur_bucket so
we can avoid purging the 'current' bucket instance. but if that
entrypoint doesn't exist, there is no current instance and that
shouldn't prevent us from purging

Fixes: https://tracker.ceph.com/issues/52976
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc