]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: allow bucket deletion from secondary zonegroup
authorSeena Fallah <seenafallah@gmail.com>
Wed, 9 Oct 2024 21:32:49 +0000 (23:32 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Sat, 26 Apr 2025 17:02:52 +0000 (19:02 +0200)
commitdfe08b55889e5f9d55a118ae8064e5a28b9f83ad
treeef7ff25b42f2d201432ae11e0b51704c6fa76c86
parente2a2aba08832709ae82f247c631b3af0b917c012
rgw: allow bucket deletion from secondary zonegroup

Allow running `radosgw-admin bucket rm` from secondary zonegroup.
This allows bucket deletion with `--purge-objects` and with
`--bypass-gc` when deleting the bucket owned by non-master zonegroup.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit c7694ddedc3e12d2e7dcf5357e96e6a6f813bfa5)
src/common/options/rgw.yaml.in
src/rgw/driver/rados/rgw_bucket.cc
src/rgw/driver/rados/rgw_bucket.h
src/rgw/rgw_admin.cc
src/rgw/rgw_auth.cc