Project

General

Profile

Bug #2542

rgw: support S3 update of metadata

Added by Yehuda Sadeh over 11 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

S3 metadata update is being done by copying of an object to itself with new metadata info.

Associated revisions

Revision b415fd21 (diff)
Added by Yehuda Sadeh over 11 years ago

rgw: obj copy respects -metadata-directive

Fixes #2542. The old behavior just merged src object attrs
and provided attributes. The new (and correct) behavior looks
at the x-[amz|rgw|...]-metadata-directive and either copies
the source attrs, or replaces them with the provided attrs.

Signed-off-by: Yehuda Sadeh <>

History

#1 Updated by Yehuda Sadeh over 11 years ago

Resolved, commit:343cc792e847ca8901f6c08e41799a2fbbd2ca92

#2 Updated by Yehuda Sadeh over 11 years ago

  • Status changed from New to Resolved

#3 Updated by John Spray over 5 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)

Bulk reassign of radosgw category to RGW project.

Also available in: Atom PDF