Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jewel: rgw: add orphan options to radosgw-admin --help and man page #11139

Merged
3 commits merged into from Oct 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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