]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/storage class. Don't inherit storage class for copy object.
authorMarcus Watts <mwatts@redhat.com>
Wed, 28 Aug 2024 21:21:13 +0000 (17:21 -0400)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
commitdd6ccc36f9097a43654aa3da349334132ab7878b
treed05d3f747fffa52167aa42aa877e4c2521858a1f
parent30830dce87ae061c76b5dda079947ff0c5d962af
rgw/storage class.  Don't inherit storage class for copy object.

When an object is copied, it should only be depending on data
in the request to determine the storage class, and if it is
not specified, it should default to 'STANDARD'.  In radosgw,
this means that this is another attribute (similar to encryption)
that should not be merged from the source object.

Fixes: https://tracker.ceph.com/issues/67787
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit a0e60bda70d4af93aa545a3fdea46eb9e68088c4)

Resolves: rhbz#2300284
src/rgw/rgw_op.cc