]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fetch_remote_obj() preserves RGW_ATTR_COMPRESSION of encrypted objects
authorCasey Bodley <cbodley@redhat.com>
Wed, 28 Jun 2023 18:57:49 +0000 (14:57 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 3 Jul 2023 16:12:32 +0000 (12:12 -0400)
commitf8c47d972fff8e478be972b54cc45438d4a9c4be
treede137f82fa5144581af5f77a34bc415ca66e1719
parent8be212d38adf19dc18bdae7c560d001d82fc44d8
rgw: fetch_remote_obj() preserves RGW_ATTR_COMPRESSION of encrypted objects

if the source object was both compressed and encrypted, preserve its
original compression attribute so it can be decompressed the same way it
was originally compressed

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b91ff3fd86f52f7148daf7f9acc9864752186ce0)
src/rgw/driver/rados/rgw_rados.cc