diff options
author | J. Eric Ivancich <ivancich@redhat.com> | 2023-06-14 21:53:19 +0200 |
---|---|---|
committer | J. Eric Ivancich <ivancich@redhat.com> | 2023-08-30 20:41:15 +0200 |
commit | c02906ae6463425ef3f00000ba1ce78fcc9e2478 (patch) | |
tree | 9df56eef8abcaa44ce7358217be014e7be4f4ea3 /debian | |
parent | rgw: enhance functionality of `radosgw-admin object reindex ...` (diff) | |
download | ceph-c02906ae6463425ef3f00000ba1ce78fcc9e2478.tar.xz ceph-c02906ae6463425ef3f00000ba1ce78fcc9e2478.zip |
rgw: enhances rgw-restore-bucket-index script
This enhances the script to both process versioned buckets correctly
and to handle object names that begin with underscore.
If the bucket is versioned it submits each version chronologically
(based on mtime) to be reindexed in order to "replay" the modification
of objects. However mtime is not a perfect indicator. So additionally
it looks at the OLH object to determine the most recent version and
the script makes sure that it is replayed last. The order of previous
versions is likely correct, but not guaranteed to be so.
Additional logic is added to handle objects with names that begin with
underscore ('_') since that's used as a delimiter and needs to be
escaped and rados object locators are also used.
A man page for the script is added.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/radosgw.install | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/radosgw.install b/debian/radosgw.install index b0367e8f651..be74a52c1a9 100644 --- a/debian/radosgw.install +++ b/debian/radosgw.install @@ -7,3 +7,4 @@ usr/bin/radosgw-token usr/share/man/man8/ceph-diff-sorted.8 usr/share/man/man8/radosgw.8 usr/share/man/man8/rgw-orphan-list.8 +usr/share/man/man8/rgw-restore-bucket-index.8 |