]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add a troubleshooting note on resharding expirer fixes
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 2 May 2019 13:25:22 +0000 (15:25 +0200)
committerAbhishek Lekshmanan <alekshmanan@suse.com>
Thu, 9 May 2019 18:51:50 +0000 (20:51 +0200)
Added a note about the commands added to support stale expired object deletion

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
doc/radosgw/dynamicresharding.rst

index d802b4ee18c785a71b0dac87e28c3df768a6bfbf..5fb5063b76a93fb16e8ec400383714f0f93da60b 100644 (file)
@@ -143,3 +143,30 @@ The command to do so is:
 
 As a convenience wrapper, if the ``--bucket`` argument is dropped then this
 command will try and fix lifecycle policies for all the buckets in the cluster.
+
+Object Expirer fixes
+--------------------
+
+Objects subject to Swift object expiration on older clusters may have
+been dropped from the log pool and never deleted after the bucket was
+resharded. This would happen if their expiration time was before the
+cluster was upgraded, but if their expiration was after the upgrade
+the objects would be correctly handled. To manage these expire-stale
+objects, radosgw-admin provides two subcommands.
+
+Listing:
+
+::
+
+   # radosgw-admin objects expire-stale list --bucket {bucketname}
+
+Displays a list of object names and expiration times in JSON format.
+
+Deleting:
+
+::
+
+   # radosgw-admin objects expire-stale rm --bucket {bucketname}
+
+
+Initiates deletion of such objects, displaying a list of object names, expiration times, and deletion status in JSON format.