From: Ken Dreyer Date: Thu, 15 Sep 2016 18:56:39 +0000 (-0600) Subject: radosgw-admin: add "--orphan-stale-secs" to --help X-Git-Tag: v0.94.10~67^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2920334210376bb34e59d6ecf08557732bcc3861;p=ceph.git radosgw-admin: add "--orphan-stale-secs" to --help 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 (cherry picked from commit 354059ae43b4f4cc797da1669715399cd96a4738) --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index cb6a2c7060d..d2c04a8fac6 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -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"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 060e92edd39..1adc982b3eb 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -142,6 +142,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)