From 9f4ea76d4d322eb26f75c7f9e1788290a1ebfeed Mon Sep 17 00:00:00 2001 From: kchheda3 Date: Fri, 17 May 2024 11:06:10 -0400 Subject: [PATCH] rgw/notification: Continue committing notification events for other topics subscribed to bucket even if there is failure to load any single topic . Fixes https://tracker.ceph.com/issues/66097 Signed-off-by: kchheda3 --- src/rgw/driver/rados/rgw_notify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/driver/rados/rgw_notify.cc b/src/rgw/driver/rados/rgw_notify.cc index dee1277201c..9a1cd444809 100644 --- a/src/rgw/driver/rados/rgw_notify.cc +++ b/src/rgw/driver/rados/rgw_notify.cc @@ -1099,7 +1099,7 @@ int publish_reserve(const DoutPrefixProvider* dpp, // either the topic is deleted but the corresponding notification // still exist or in v2 mode the notification could have synced first // but topic is not synced yet. - return 0; + continue; } ldpp_dout(res.dpp, 1) << "WARN: Using the stored topic from bucket notification struct." -- 2.39.5