]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/pubsub: RGWPubSub::remove_topic() removes persistent queue
authorCasey Bodley <cbodley@redhat.com>
Wed, 20 Mar 2024 18:14:29 +0000 (14:14 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 10 Apr 2024 17:09:17 +0000 (13:09 -0400)
commit4c50ad69c37110d42f1f68f6e567cdf5ac506a32
tree32c44450657f94851fbaf3e7d1357f85b6e27684
parent3ef1ab3de225a472a37e84d3e8abb6fbfcaddaa2
rgw/pubsub: RGWPubSub::remove_topic() removes persistent queue

move the persistent queue removal into remove_topic() where we have
access to the topic metadata. avoid trying to remove the queue if it
isn't enabled

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_pubsub.cc
src/rgw/rgw_rest_pubsub.cc