]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: skip empty check on non-owned buckets by zonegroup
authorSeena Fallah <seenafallah@gmail.com>
Wed, 9 Oct 2024 21:30:40 +0000 (23:30 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Sat, 26 Apr 2025 17:02:44 +0000 (19:02 +0200)
commit8238730f0096a3b11ddb75639cce3473439a6d08
tree5889604eed1c053dd470488a334035afe9f05160
parentb7292a2266a2d2943f9658c9b772b86a72ce59f1
rgw: skip empty check on non-owned buckets by zonegroup

Compare RGW's zonegroup with bucket's zonegroup and only do the empty
check when the bucket is owned by the RGW running the delete.

Fixes: https://tracker.ceph.com/issues/68190
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit e975658b105812fc66718ea1e1c77025869539e4)
src/rgw/driver/motr/rgw_sal_motr.cc
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_sal_rados.cc
src/rgw/rgw_op.cc
src/test/rgw/rgw_multi/tests.py