]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: allow multisite specification used w/ rgw-restore-bucket-index script
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 12 Jul 2023 17:54:07 +0000 (13:54 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 15 Jul 2025 14:58:22 +0000 (10:58 -0400)
commit43492edfe40487387541e5c64404f62014c09871
tree041e441da3a80bb1926241282154d6a9364ccfad
parent75d2089b8e74d0005db7710019a8b19140fb0a64
rgw: allow multisite specification used w/ rgw-restore-bucket-index script

When the metadata for a bucket is requested only the default
realm/zonegroup/zone is currently supported. This adds three new
command-line options to rgw-restore-bucket-index:

    -r <realm-name>
    -g <zonegroup-name>
    -z <zone-name>

The multisite specification will then be used in invocations of
`radosgw-admin`, such as to query the zone, get metadata, and invoke
the "object reindex" subcommand.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 522785e05329d4aa3e2672826032d5bd9a8ad0de)
doc/man/8/rgw-restore-bucket-index.rst
src/rgw/rgw-restore-bucket-index