]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: make rgw-restore-bucket-index more robust 64622/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 1 Mar 2024 23:54:12 +0000 (18:54 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 22 Jul 2025 15:39:27 +0000 (11:39 -0400)
commit2ef74b14bc1a4c36642052a5496ae43832a2c22c
tree1a4b6c676fbec9ba19839d46770c668a208907b0
parent5da9aa71f8f9180d99d6bf328770a9d27ef3fc1a
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>
(cherry picked from commit a8cf37b6e8e33c53d9be4cc1998d3b2f80700fbd)
doc/man/8/rgw-restore-bucket-index.rst [new file with mode: 0644]
src/rgw/rgw-restore-bucket-index