]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add rgw-restore-bucket-index 50509/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 8 Mar 2023 21:51:17 +0000 (16:51 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Mon, 13 Mar 2023 20:16:27 +0000 (16:16 -0400)
commit3f2db580f75f3e0480a1b0692066083890cfdf91
tree9b6f90570f4d6e0148d595baf86a9cbe8dd1ce92
parentee0a8eac2f883e6db82412004448909527e6d84c
rgw: add rgw-restore-bucket-index

Adds an experimental script that allows a bucket index of a
non-versioned bucket to be restored by applying `radosgw-admin object
reindex ...` to all objects in the specified bucket. The objects in
the bucket are determined by scanning the data pool for head objects
containing the bucket's marker.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 6ea11b1305c77f9141f2dd8093ac56b579f250be)
ceph.spec.in
debian/radosgw.install
src/rgw/CMakeLists.txt
src/rgw/rgw-restore-bucket-index [new file with mode: 0755]