]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw-orphan-list: refactor / add error checking 59321/head
authorMichael J. Kidd <linuxkidd@gmail.com>
Wed, 11 Jan 2023 19:53:50 +0000 (14:53 -0500)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Mon, 19 Aug 2024 16:37:39 +0000 (23:37 +0700)
commit599ad239d001f88700ca677d83ac770f97959cdd
tree58c1655234ae46771aaab1c1033f3d668a5cd307
parent6a16782a86d951842d79036fdfaf36626c7aea65
rgw/rgw-orphan-list: refactor / add error checking

standardize log output
add check that supplied pool[s] exist on the cluster
add return code checks for all commands that can affect output
add check for empty intermediate files
add usage output, including a -h command line option
add command line option to specify temporary directory to use
  ( instead of /tmp )
require command line supplied pools to be encased in double quotes "
  when multiple pools are provided
add warning for indexless buckets
move major segments to separate functions

Signed-off-by: Michael J. Kidd <linuxkidd@gmail.com>
(cherry picked from commit c951c3e3bd98532b97a46cce9de334d67009fc4b)
src/rgw/rgw-orphan-list