]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add doc & doc testing for force option on `radosgw-admin object rm ...`
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 3 Apr 2025 00:23:41 +0000 (20:23 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Thu, 3 Apr 2025 17:33:04 +0000 (13:33 -0400)
Subject says it all.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
doc/man/8/radosgw-admin.rst
src/rgw/radosgw-admin/radosgw-admin.cc
src/test/cli/radosgw-admin/help.t

index 3cd4338a5ece3a79f6bcaf92cf163fd107f81236..1c171dffdb52c1ccb79c08113dbfbf8d5133e050 100644 (file)
@@ -135,22 +135,23 @@ as follows:
   Purge bucket index entries.
 
 :command:`object rm`
-  Remove an object.
+  Remove an S3/Swift object. Include "--yes-i-really-mean-it" to remove object's
+  entry from bucket index, for example if it's damaged.
 
 :command:`object stat`
-  Stat an object for its metadata.
+  Stat an S3/Swift object for its metadata.
 
 :command:`object manifest`
-  Display the manifest of RADOS objects containing the data.
+  Display the manifest of an S3/Swift object, producing a list of RADOS objects containing the data.
 
 :command:`object unlink`
-  Unlink object from bucket index.
+  Unlink S3/Swift object from bucket index.
 
 :command:`object rewrite`
-  Rewrite the specified object.
+  Rewrite the specified S3/Swift object.
 
 :command:`object reindex`
-  Add an object to its bucket's index. Used rarely for emergency repairs.
+  Add an S3/Swift object to its bucket's index. Used rarely for emergency repairs.
 
 :command:`objects expire`
   Run expired objects cleanup.
index 2c2b52b6a40ddc2266f424a3594d1ce58b5b3740..cb07211345e251d9790b4224e53b5631a62da6a6 100644 (file)
@@ -180,7 +180,7 @@ void usage()
   cout << "  bi put                           store bucket index object entries\n";
   cout << "  bi list                          list raw bucket index entries\n";
   cout << "  bi purge                         purge bucket index entries\n";
-  cout << "  object rm                        remove object\n";
+  cout << "  object rm                        remove object; include --yes-i-really-mean-it to force removal from bucket index\n";
   cout << "  object put                       put object\n";
   cout << "  object stat                      stat an object for its metadata\n";
   cout << "  object unlink                    unlink object from bucket index\n";
index a5559f8fe2d377bcc46658624fbbff5d6ec6afce..65fb091930722afd5a33b71a11f3d426dd834cdd 100644 (file)
@@ -50,7 +50,7 @@
     bi put                           store bucket index object entries
     bi list                          list raw bucket index entries
     bi purge                         purge bucket index entries
-    object rm                        remove object
+    object rm                        remove object; include --yes-i-really-mean-it to force removal from bucket index
     object put                       put object
     object stat                      stat an object for its metadata
     object unlink                    unlink object from bucket index