]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: make rgw-restore-bucket-index more robust
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 1 Mar 2024 23:54:12 +0000 (18:54 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Mon, 4 Mar 2024 20:44:15 +0000 (15:44 -0500)
commita8cf37b6e8e33c53d9be4cc1998d3b2f80700fbd
treee1f24135f5f90e6fcf88f05bdf8d8b7dce388868
parent28fe52ab8cdb447b0cb5593e41ff5553f4ecff90
rgw: make rgw-restore-bucket-index more robust

This experimental tool write a series of temporary files, the combined
size of which is roughly proportional to some combination of the
number of objects in the bucket and their respective sizes. Previously
the script stored all temporary files in /tmp, which may not be
sufficiently large in many cases.

There are now two enhancements. First, using the "-t" command-line
argument, the directory for temporary files can be specified. Second,
if the script consumes all available space on the file system
containing the temporary directory, an error message to that effect is
displayed, so the user understands what corrective action to take.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
doc/man/8/rgw-restore-bucket-index.rst
src/rgw/rgw-restore-bucket-index