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: testing/wip-vshankar-testing-20251204.133709-debug^2~7^2~4^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b984980897dd4e2fa14641d4bf5e5bab3bc1336b;p=ceph-ci.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 6ca7d45cfdd..9dc2de98430 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; }