]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: object expirer: handle resharded buckets
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 26 Apr 2019 14:20:15 +0000 (16:20 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 6 May 2019 09:51:57 +0000 (11:51 +0200)
commit7f958c64dff006885da7e0fafa51e56ecbc6f973
tree3a810829684447d5bf60ab1ff6293730b41fdad1
parent4c79d02f6950b62e65fe9ab1b6d0602246e171ed
rgw: object expirer: handle resharded buckets

Previously we fetched the bucket instance info which changes during a reshard
causing the bucket info to fail, since the subsequent checks will assume that
would mean a deleted bucket, the expiry hint is purged as well, leaving a non
deleted object as well as a deleted hint. This should fix newer runs of object
expiry processes. Finding out stale expired objects will require more complex
rgw-admin tooling support

Fixes: https://tracker.ceph.com/issues/39495
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_object_expirer_core.cc