]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: remove lc entry on bucket delete 44729/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 4 Jan 2022 16:22:00 +0000 (11:22 -0500)
committerCory Snyder <csnyder@iland.com>
Wed, 16 Mar 2022 13:16:49 +0000 (09:16 -0400)
commitaa90cbdf74f4368aa6a989f35142110d8a57d5d1
tree2ead9fbdaa26447f07b56262afffcd2ae844c3ff
parent31476c689ba9b454f87482fb60013cc009f558d1
rgwlc:  remove lc entry on bucket delete

Buckets with lifecycle policies installed have a state entry that
must also be deleted when the bucket is removed.

Fixes: https://tracker.ceph.com/issues/46728
N.b., should really be generic, not specific to the RADOS store, but
there doesn't seem to be a clean model for implementing generic side
effects in Zipper, currently.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit cc1e812a003e2af74fe0c69ccae08dd7aa68bbe0)

Conflicts:
src/rgw/rgw_sal_rados.cc

Cherry-pick notes:
- must pass this->info as first param to remove_bucket_config
- conflict with includes
src/rgw/rgw_sal_rados.cc