]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/rgw-orphan-list: refactor / add error checking 49734/head
authorMichael J. Kidd <linuxkidd@gmail.com>
Wed, 11 Jan 2023 19:53:50 +0000 (14:53 -0500)
committerMichael J. Kidd <linuxkidd@gmail.com>
Wed, 18 Jan 2023 18:36:56 +0000 (13:36 -0500)
commitc951c3e3bd98532b97a46cce9de334d67009fc4b
treee463598cb5bcdad59637ad9f156d33b35f70dac0
parent3d74c007e77fcc70be3f98c6ec972f68daab3245
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>
src/rgw/rgw-orphan-list