]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Fix swift object expiry not deleting objects 18972/head
authorPavan Rallabhandi <PRallabhandi@walmartlabs.com>
Wed, 8 Nov 2017 16:05:54 +0000 (21:35 +0530)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 16 Nov 2017 16:49:11 +0000 (11:49 -0500)
commit0d18c24fcedd82fa0203ce37bac9099bdd455f35
tree04d75f45bf0d72c730125298b346a61c65a5fedf
parent5c9b93dadd8f05b1a146e3a19f7480ae4019815f
rgw: Fix swift object expiry not deleting objects

In cls_timeindex_list() though `to_index` has expired for a timespan, the marker is set for a subsequent index during the time boundary check.
This marker is further returned to RGWObjectExpirer::process_single_shard(), where this out_marker is trimmed from the respective shard,
resulting in a lost removal hint and a leaked object.

Fixes: http://tracker.ceph.com/issues/22084
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
(cherry picked from commit 70adfaae5073d2680a9722526a6a19795dd18780)
src/cls/timeindex/cls_timeindex.cc