From b984980897dd4e2fa14641d4bf5e5bab3bc1336b Mon Sep 17 00:00:00 2001 From: N Balachandran Date: Fri, 14 Nov 2025 08:51:29 +0530 Subject: [PATCH] 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 --- src/rgw/driver/rados/rgw_notify.cc | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.47.3