]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: remove lc entry on bucket delete 36308/head
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 4 Jan 2022 16:22:00 +0000 (11:22 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 4 Jan 2022 16:51:44 +0000 (11:51 -0500)
commitcc1e812a003e2af74fe0c69ccae08dd7aa68bbe0
treed6a5e4c4cde2c6397f3f0c84ff2752c6b8ec1d9e
parent9c659f228e46591a8edeba85446534a25c260af1
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>
src/rgw/rgw_sal_rados.cc