]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 15 Sep 2016 19:49:03 +0000 (13:49 -0600)
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>
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index ebab34af80c71ff909e48e972bdc7b958a920f7c..04a81f3ea07438b7df9ea90a01074d0ce247e6b6 100644 (file)
@@ -249,6 +249,7 @@ void _usage()
   cout << "\nOrphans search options:\n";
   cout << "   --pool                    data pool to scan for leaked rados objects in\n";
   cout << "   --num-shards              num of shards to use for keeping the temporary scan info\n";
+  cout << "   --orphan-stale-secs       num of seconds to wait before declaring an object to be an orphan (default: 86400)\n";
   cout << "   --job-id                  set the job id (for orphans find)\n";
   cout << "   --max-concurrent-ios      maximum concurrent ios for orphans find (default: 32)\n";
   cout << "\nOrphans list-jobs options:\n";
index 4a722f16d0acc889f2be9e743516f525843943bb..84822d15eb2a42c713bc1b37c8e9f1bb09aae506 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)