From 354059ae43b4f4cc797da1669715399cd96a4738 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Thu, 15 Sep 2016 12:56:39 -0600 Subject: [PATCH] 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 --- src/rgw/rgw_admin.cc | 1 + src/test/cli/radosgw-admin/help.t | 1 + 2 files changed, 2 insertions(+) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index ebab34af80c71..04a81f3ea0743 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -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"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 4a722f16d0acc..84822d15eb2a4 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -202,6 +202,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) -- 2.39.5