]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
radosgw-admin: add "--orphan-stale-secs" to --help
authorKen Dreyer <kdreyer@redhat.com>
Thu, 15 Sep 2016 18:56:39 +0000 (12:56 -0600)
committerCasey Bodley <cbodley@redhat.com>
Mon, 19 Sep 2016 21:34:30 +0000 (17:34 -0400)
The radosgw-admin --help did not include the description of the
`--orphan-stale-secs` option of the `orphans find` command. The option
sets the number of seconds to wait before declaring an object to be an
orphan.

Fixes: http://tracker.ceph.com/issues/17280
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit 354059ae43b4f4cc797da1669715399cd96a4738)

src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index cb6a2c7060d18bc29b0bcdefa3c3bbf4b7410110..d2c04a8fac6eb9b048441bb1f37b898c2f0e86ea 100644 (file)
@@ -183,6 +183,7 @@ void _usage()
   cerr << "\nOrphans search options:\n";
   cerr << "   --pool                    data pool to scan for leaked rados objects in\n";
   cerr << "   --num-shards              num of shards to use for keeping the temporary scan info\n";
+  cerr << "   --orphan-stale-secs       num of seconds to wait before declaring an object to be an orphan (default: 86400)\n";
   cerr << "   --job-id                  set the job id (for orphans find)\n";
   cerr << "   --max-concurrent-ios      maximum concurrent ios for orphans find (default: 32)\n";
   cerr << "\n";
index 060e92edd39705a8ef0e02c2c0284ac31170b06b..1adc982b3eb0c007ed669a2596eb4a74cdab7cf7 100644 (file)
   Orphans search options:
      --pool                    data pool to scan for leaked rados objects in
      --num-shards              num of shards to use for keeping the temporary scan info
+     --orphan-stale-secs       num of seconds to wait before declaring an object to be an orphan (default: 86400)
      --job-id                  set the job id (for orphans find)
      --max-concurrent-ios      maximum concurrent ios for orphans find (default: 32)