]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw : cleanup radosgw-admin temp command as it was deprecated 9342/head
authorVikhyat Umrao <vumrao@redhat.com>
Thu, 26 May 2016 10:13:41 +0000 (15:43 +0530)
committerVikhyat Umrao <vumrao@redhat.com>
Thu, 26 May 2016 10:13:41 +0000 (15:43 +0530)
and also implementation code for this command was removed in commit
8d7c8828b02c46e119adc4b9e8f655551512fc2d

Fixes: http://tracker.ceph.com/issues/16023
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
doc/man/8/radosgw-admin.rst
doc/radosgw/purge-temp.rst [deleted file]
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index b4d75ff2ca2379620847e4326d48574f854fccd8..550e551a17640fc7a98b5436a56a3c7005253e5c 100644 (file)
@@ -159,10 +159,6 @@ which are as follows:
 :command:`usage trim`
   Trim usage information (with optional user and date range).
 
-:command:`temp remove`
-  Remove temporary objects that were created up to specified date
-  (and optional time).
-
 :command:`gc list`
   Dump expired garbage collection objects (specify --include-all to list all
   entries, including unexpired).
diff --git a/doc/radosgw/purge-temp.rst b/doc/radosgw/purge-temp.rst
deleted file mode 100644 (file)
index 91181f4..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-========================
- Purging Temporary Data
-========================
-
-.. deprecated:: 0.52
-
-When you delete objects (and buckets/containers), the Gateway marks the  data
-for removal, but it is still available to users until it is purged. Since data
-still resides in storage until it is purged, it may take up available storage
-space. To ensure that data marked for deletion isn't taking up a significant
-amount of storage space, you should run the following command periodically:: 
-
-       radosgw-admin temp remove
-
-.. important:: Data marked for deletion may still be read. So consider
-   executing the foregoing command a reasonable interval after data
-   was marked for deletion.
-.. tip:: Consider setting up a ``cron`` job to purge data.
\ No newline at end of file
index a55b50e645f8c36875cf95a87cc4105c0b4e4241..48d40fb45b9b362b52c3193309cfc4948978f2fc 100644 (file)
@@ -126,8 +126,6 @@ void _usage()
   cout << "  log rm                     remove log object\n";
   cout << "  usage show                 show usage (by user, date range)\n";
   cout << "  usage trim                 trim usage (by user, date range)\n";
-  cout << "  temp remove                remove temporary objects that were created up to\n";
-  cout << "                             specified date (and optional time)\n";
   cout << "  gc list                    dump expired garbage collection objects (specify\n";
   cout << "                             --include-all to list all entries, including unexpired)\n";
   cout << "  gc process                 manually process garbage\n";
@@ -413,7 +411,6 @@ static int get_cmd(const char *cmd, const char *prev_cmd, const char *prev_prev_
       strcmp(cmd, "replicalog") == 0 ||
       strcmp(cmd, "subuser") == 0 ||
       strcmp(cmd, "sync") == 0 ||
-      strcmp(cmd, "temp") == 0 ||
       strcmp(cmd, "usage") == 0 ||
       strcmp(cmd, "user") == 0 ||
       strcmp(cmd, "zone") == 0 ||
index 474056052892c55fbea643a0d6e00016b7558b85..7f9eb66bbfa10480ec17e4c6ce34f7085e5837c9 100644 (file)
@@ -78,8 +78,6 @@
     log rm                     remove log object
     usage show                 show usage (by user, date range)
     usage trim                 trim usage (by user, date range)
-    temp remove                remove temporary objects that were created up to
-                               specified date (and optional time)
     gc list                    dump expired garbage collection objects (specify
                                --include-all to list all entries, including unexpired)
     gc process                 manually process garbage