Merge pull request #9342 from vumrao/wip-vumrao-16023

rgw : cleanup radosgw-admin temp command
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
Orit Wasserman 2016-05-26 13:30:33 +02:00
commit 545dde68e1
4 changed files with 0 additions and 27 deletions

View 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).

View File

@ -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.

View 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 ||

View 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