]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fetch_remote_obj() uses uncompressed size for encrypted objects 54371/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 24 Oct 2023 20:48:06 +0000 (16:48 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 6 Nov 2023 19:47:11 +0000 (14:47 -0500)
commit24bf7b7ef14de926f6029fc675ef47814d1ef957
tree0453b4c41d0d2461d2a9ba778770fc45a86619ce
parent23573e2f7bf3b15e8e07d134676feb08185de5b8
rgw: fetch_remote_obj() uses uncompressed size for encrypted objects

use the original size from RGW_ATTR_COMPRESSION as the accounted size in
the bucket index for objects that were transferred in their
encrypted/compressed form

Fixes: https://tracker.ceph.com/issues/63306
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 526643826246fa8dbe35ea2f65bf9ad0ef9566ff)

Conflicts:
        src/rgw/driver/rados/rgw_rados.cc no req_context
src/rgw/driver/rados/rgw_rados.cc