]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: require zonegroup feature to compress encrypted objects
authorCasey Bodley <cbodley@redhat.com>
Mon, 3 Jul 2023 19:00:17 +0000 (15:00 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 11 Jul 2023 14:02:06 +0000 (10:02 -0400)
commit599fc3c79eaf677960b36ee90737e435b7aee47f
tree534c914ffa9969900c6ed9a55131e97e08c4b69b
parent697e1c58220174db39ad214f5b98d069d0ca5c1a
rgw: require zonegroup feature to compress encrypted objects

Reef adds support for combining server-side encryption and compression,
but previous releases would not replicate such objects correctly. gate
the feature behind a zonegroup feature flag to require that all zones
upgrade to reef before enabling. this feature is not enabled by default
in new zonegroups

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

Conflicts:
src/rgw/rgw_op.cc: SiteConfig -> sal::ZoneGroup::supports
src/rgw/rgw_op.cc
src/rgw/rgw_zone_features.h