From: N Balachandran Date: Fri, 14 Nov 2025 03:21:29 +0000 (+0530) Subject: rgw/notify: fix reading the entries in a loop X-Git-Tag: v21.0.0~244^2~6^2~4^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b984980897dd4e2fa14641d4bf5e5bab3bc1336b;p=ceph.git rgw/notify: fix reading the entries in a loop If more than 1024 entries exist, the start_after variable is updated to enable reading the subsequent set of entries. Fixes: https://tracker.ceph.com/issues/73812 Signed-off-by: N Balachandran --- diff --git a/src/rgw/driver/rados/rgw_notify.cc b/src/rgw/driver/rados/rgw_notify.cc index 6ca7d45cfddb..9dc2de984305 100644 --- a/src/rgw/driver/rados/rgw_notify.cc +++ b/src/rgw/driver/rados/rgw_notify.cc @@ -127,6 +127,9 @@ private: return ret; } queues.merge(queues_chunk); + if (more) { + start_after = *queues.rbegin(); + } } return 0; }