From: kchheda3 Date: Fri, 17 May 2024 15:06:10 +0000 (-0400) Subject: rgw/notification: Continue committing notification events for other topics subscribed... X-Git-Tag: v19.1.1~147^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=17ee3cc435fad1e19c77eae8390fd22c4babe1d8;p=ceph.git 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 (cherry picked from commit 9f4ea76d4d322eb26f75c7f9e1788290a1ebfeed) --- diff --git a/src/rgw/driver/rados/rgw_notify.cc b/src/rgw/driver/rados/rgw_notify.cc index 31555a564cab..974ce0be24a6 100644 --- a/src/rgw/driver/rados/rgw_notify.cc +++ b/src/rgw/driver/rados/rgw_notify.cc @@ -1086,7 +1086,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."