Project

General

Profile

Actions

Bug #65668

open

Notification: Persistent queue not deleted when topic is deleted via radosgw-admin

Added by Krunal Chheda 10 days ago. Updated 3 days ago.

Status:
Fix Under Review
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
notifications
Backport:
squid
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Post this commit, the logic to remove the persistent queue when the topic is deleted was moved to RgwPubsub:remove_topic().
However when the topic is removed via radosgw-admin command the notification manager s_manager is not initialized, hence the code is returned from here.
so to fix the either we need to directly call inner function by passing the notif_pool_ctx by type-casting the driver->`RadosStore` or move the logic of removal of queue inside the topic.cc file which is specific to rados store.

Actions #1

Updated by Casey Bodley 3 days ago

  • Assignee set to Casey Bodley
Actions #2

Updated by Casey Bodley 3 days ago

  • Status changed from New to Fix Under Review
  • Tags set to notifications
  • Pull request ID set to 57249
Actions

Also available in: Atom PDF