]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: lifecycle: use unmod_since when deleting obj
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 2 Jan 2019 23:10:33 +0000 (15:10 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 4 Jan 2019 03:00:24 +0000 (19:00 -0800)
commit3e0b21c9719a92cd3bc8a1593f2aa5599a7b1735
tree403a94e6d5e5286ef36f354c6383c0a76f6931d0
parentcf1dcb47232e06a7c3f4054b684eda584dd9b80d
rgw: lifecycle: use unmod_since when deleting obj

To avoid a race. Also use the op object ctx to avoid reading object
head again (if read previously), and consolidate the different
removal calls.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_lc.cc