]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw-admin: document orphans commands in usage 7526/head
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 2 Feb 2016 00:33:55 +0000 (16:33 -0800)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 4 Feb 2016 22:14:06 +0000 (15:14 -0700)
Fixes: #14516
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 105a76bf542e05b739d5a03ca8ae55432350f107)

Conflicts:
src/rgw/rgw_admin.cc (trivial resolution)

src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index 45cb2e197eddc7e27cb0d281a9079d32d8ab6689..2ba77e3369739f54fc28863065d47b901b9389dc 100644 (file)
@@ -112,6 +112,8 @@ void _usage()
   cerr << "  replicalog get             get replica metadata log entry\n";
   cerr << "  replicalog update          update replica metadata log entry\n";
   cerr << "  replicalog delete          delete replica metadata log entry\n";
+  cout << "  orphans find               init and run search for leaked rados objects\n";
+  cout << "  orphans finish             clean up search for leaked rados objects\n";
   cerr << "options:\n";
   cerr << "   --uid=<id>                user id\n";
   cerr << "   --subuser=<name>          subuser name\n";
@@ -174,6 +176,9 @@ void _usage()
   cerr << "   --max-objects             specify max objects (negative value to disable)\n";
   cerr << "   --max-size                specify max size (in bytes, negative value to disable)\n";
   cerr << "   --quota-scope             scope of quota (bucket, user)\n";
+  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";
   cerr << "\n";
   generic_client_usage();
 }
index bdb7324b77afd45327c1ae9c2c2924c3a6817e73..a294549409c05aedaae70d842e69598bb3bb9f9a 100644 (file)
@@ -69,6 +69,8 @@
     replicalog get             get replica metadata log entry
     replicalog update          update replica metadata log entry
     replicalog delete          delete replica metadata log entry
+    orphans find               init and run search for leaked rados objects
+    orphans finish             clean up search for leaked rados objects
   options:
      --uid=<id>                user id
      --subuser=<name>          subuser name
      --max-size                specify max size (in bytes, negative value to disable)
      --quota-scope             scope of quota (bucket, user)
   
+  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
+  
     --conf/-c FILE    read configuration from the given configuration file
     --id/-i ID        set ID portion of my name
     --name/-n TYPE.ID set name