]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fetch_remote_obj() uses uncompressed size for encrypted objects 54174/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 24 Oct 2023 20:48:06 +0000 (16:48 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 24 Oct 2023 21:00:03 +0000 (17:00 -0400)
commit526643826246fa8dbe35ea2f65bf9ad0ef9566ff
tree6325ae087b8a3c84cc5716fdba2d0ce6cfe7b0be
parent999d539f76bdb4baa0b8342fff74a9e3fd1cdc12
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>
src/rgw/driver/rados/rgw_rados.cc