Skip to content

Commit

Permalink
Merge pull request #11139: jewel: add orphan options to radosgw-admin…
Browse files Browse the repository at this point in the history
… --help and man page

Reviewed-by: Loic Dachary <ldachary@redhat.com>
  • Loading branch information
Loic Dachary committed Oct 10, 2016
2 parents 8388ae8 + e2ce857 commit 71c0646
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/man/8/radosgw-admin.rst
Expand Up @@ -414,6 +414,20 @@ Orphans Search Options

Number of shards to use for keeping the temporary scan info

.. option:: --orphan-stale-secs

Number of seconds to wait before declaring an object to be an orphan.
Default is 86400 (24 hours).

.. option:: --job-id

Set the job id (for orphans find)

.. option:: --max-concurrent-ios

Maximum concurrent ios for orphans find.
Default is 32.


Examples
========
Expand Down
1 change: 1 addition & 0 deletions src/rgw/rgw_admin.cc
Expand Up @@ -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";
Expand Down
1 change: 1 addition & 0 deletions src/test/cli/radosgw-admin/help.t
Expand Up @@ -192,6 +192,7 @@
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)
Expand Down

0 comments on commit 71c0646

Please sign in to comment.