]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add DELETE_IF_UNMODIFIED_SINCE header to obj delete
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 1 Apr 2015 21:57:19 +0000 (14:57 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:12:49 +0000 (16:12 -0800)
commitfc01f16fbba529f68de47ce09df6ad045bc3c3aa
tree062d520aab2bb808ca02065f76fe7a5f7bdd5203
parente36db984c05bcc95be6658454e37b40dab0a0b99
rgw: add DELETE_IF_UNMODIFIED_SINCE header to obj delete

Will delete object only if not modified after the specified time. Still
need to close a race where object is modified after the check.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rados.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h