]> git-server-git.apps.pok.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 20:48:38 +0000 (16:48 -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 c36b913d5daeee3e525673dc851b8b285356834d..453de3b1a583dd0156bb0fe5355d27af756071a7 100644 (file)
@@ -238,6 +238,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 << "\n";
index 606a5f35ef4cbf1e9d7f93aba9617aef73c0d193..5fb1321ebd42561329071eccb456d0d4baf0f260 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)