]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: send back ETag on S3 object copy 2865/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 5 Nov 2014 21:28:02 +0000 (13:28 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 5 Nov 2014 21:30:02 +0000 (13:30 -0800)
commitb1bfc3a7e0c9088f01f8ff770ae14f569fbc570d
tree8ac062f88339bc16e6e29a1fea9bdb51ccf4bfd2
parent7ef72e93108ae018f136d974f1a958c1cd50e334
rgw: send back ETag on S3 object copy

Fixes: #9479
Backport: firefly, giant
We didn't send the etag back correctly. Original code assumed the etag
resided in the attrs, but attrs only contained request attrs.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
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