]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: send x-amz-version-id and x-amz-delete_marker header fields
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 31 Oct 2014 00:00:02 +0000 (17:00 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Jan 2015 23:57:50 +0000 (15:57 -0800)
commita871a8d29d813433cbe38fda210f06675257f2a3
tree6fc73254323cdb5ce3cd9d98666aeb4eb64a8bbe
parent5e82500316a65904d066ca278b604343dbf55991
rgw: send x-amz-version-id and x-amz-delete_marker header fields

send these fields on obj delete as defined by the api. This required
adding an index read so that we can identify whether an instance is
actually a delete marker.

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