Repository navigation
rgw/notify: fix reading the entries in a loop - #66246
Conversation
| @@ -127,6 +127,7 @@ class Manager : public DoutPrefixProvider { | |||
| return ret; | |||
| } | |||
| queues.merge(queues_chunk); | |||
| start_after = *queues.rbegin(); | |||
There was a problem hiding this comment.
| start_after = *queues.rbegin(); | |
| if (more) { | |
| start_after = *queues.rbegin(); | |
| } |
b091cb7 to
443412f
Compare
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 <[email protected]>
443412f to
b984980
Compare
| @@ -1684,6 +1685,109 @@ def test_notification_push_kafka_multiple_brokers_append(): | |||
| notification_push('kafka', conn, kafka_brokers='{host}:9091'.format(host=default_kafka_server)) | |||
|
|
|||
|
|
|||
| @attr('kafka_test') | |||
| def test_1K_topics(): | |||
| """ test pushinging notification """ | |||
There was a problem hiding this comment.
Nit: typo:
pushinging -> pushing
7a8d1b2 to
f1741fb
Compare
Signed-off-by: Yuval Lifshitz <[email protected]>
f1741fb to
3b959f3
Compare
| notification_push('kafka', conn, kafka_brokers='{host}:9091'.format(host=default_kafka_server)) | ||
|
|
||
|
|
||
| @attr('manual_test') |
There was a problem hiding this comment.
test has to be manual until we move this to boto3. since we need to limit the number of concurrent connections. otherwise, the test would fail:
see: http://qa-proxy.ceph.com/teuthology/yuvalif-2025-11-17_14:55:24-rgw:notifications-wip-yuvalif-73812-distro-default-smithi/8607090/teuthology.log
:OSError: 24 Too many open files
|
teuthology results (with the new test disabled): only (expected) valgrind issues |
|
jenkins test api |
1 similar comment
|
jenkins test api |
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
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.