Skip to content

tentacle: rgw/notify: fix reading the entries in a loop - #66491

Merged
batrick merged 2 commits into
ceph:tentaclefrom
nbalacha:wip-73894-tentacle
Jul 21, 2026
Merged

batrick merged 2 commits into
ceph:tentaclefrom
nbalacha:wip-73894-tentacle

Conversation

@nbalacha

@nbalacha nbalacha commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

@nbalacha
nbalacha requested a review from a team as a code owner December 3, 2025 06:41
@nbalacha nbalacha added this to the tentacle milestone Dec 3, 2025
@nbalacha nbalacha added the rgw label Dec 3, 2025
@github-actions github-actions Bot added the tests label Dec 3, 2025
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@batrick

batrick commented Apr 28, 2026

Copy link
Copy Markdown
Member

This PR has been identified as desirable for v20.2.2.

Please make sure this PR:

  • is rebased
  • passes CI tests
  • cross-references backport tracker tickets properly

When you believe it's ready for consideration, please add the https://github.com/ceph/ceph/labels/pdonnell-tentacle-RFA label to this PR.

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]>
(cherry picked from commit b984980)
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label May 26, 2026
This backport addresses conflicts caused by commit
a76c753.

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit 3b959f3)

 Conflicts:
	src/test/rgw/bucket_notification/test_bn.py

Signed-off-by: Nithya Balachandran <[email protected]>
@nbalacha
nbalacha force-pushed the wip-73894-tentacle branch from bc00c27 to d7c30ef Compare May 26, 2026 06:18
@nbalacha

Copy link
Copy Markdown
Contributor Author

/audit retest

github-actions[bot]

This comment was marked as outdated.

@nbalacha

nbalacha commented May 26, 2026 •

Copy link
Copy Markdown
Contributor Author

Explanation of Range Diffs:

Diff 1

@@ src/test/rgw/bucket_notification/test_bn.py: def test_notification_push_kafka_multiple_brokers_append():
    -     notification_push('kafka', conn, kafka_brokers='{host}:9091'.format(host=default_kafka_server))
    +     notification_push('kafka', conn, kafka_brokers='localhost:19092')`

This change was introduced in main by commit 8f9706576320d7f9eb352c44b8d9923a8a414405 and has not been backported to tentacle:

    test/rgw/notifications: cleanup of tests

    * remove dead code
    * remove unnecessary text from test names used when we supported
      "pubsub" (pull mode)

    Signed-off-by: Yuval Lifshitz <[email protected]>

Diff 2:

     +@attr('manual_test')

The diff is not clear but was likely changed in main by commit 0d8a70b

migrate from nose to pytest

Diff 3:

  -@@ src/test/rgw/bucket_notification/test_bn.py: def test_persistent_sharded_topic_config_change_kafka():
   -     conn = connection()
   -     new_num_shards = random.randint(2, 10)
   -     default_num_shards = 11
   --    persistent_notification_shard_config_change('kafka', conn, new_num_shards, default_num_shards)
   - \ No newline at end of file
   -+    persistent_notification_shard_config_change('kafka', conn, new_num_shards, default_num_shards)

Introduced in main by commit 8c25005 and not backported to tentacle.

commit 8c25005bb07579c94495e65a1896c370ac56b229
Author: Adarsh <[email protected]>
Date:   Wed Jun 18 20:48:34 2025 +0000

    rgw/notifications: sharded bucket notifications

    * sharding is based on hash of bucket_name:object_key
    * compatible with v1 topics
    * include tests to cover backward compatibility and mixed cluster

@adamemerson

Copy link
Copy Markdown
Contributor

/audit override

@github-actions github-actions Bot added releng-audit-override and removed releng-audit-fail Release engineering: failed backport verification audit. labels May 26, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @adamemerson.

@yuriw

yuriw commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri-testing-20260715.192214-tentacle.

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-override labels Jul 21, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ceph Release Engineering Audit Report

Commit Parity Visualizer

BACKPORT PR #66491 SOURCE PR SOURCE STATUS
15de179 rgw/notify: fix reading the entries in a loop PR #66246 b984980 rgw/notify: fix reading the entries in a loop
d7c30ef test/rgw/notify: cover case with more than 1K topics 3b959f3 test/rgw/notify: cover case with motre than 1K topics

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

This does not necessarily indicate an issue but a maintainer should review.

**Click to expand conflict summaries.**

Deviation in Backport d7c30ef (cherry-pick of 3b959f3)

Affected File(s)

Range Diff

Click to expand
--- Original (3b959f36)
+++ Backport (d7c30ef2)
@@ -1,3 +1,12 @@
-test/rgw/notify: cover case with motre than 1K topics
+test/rgw/notify: cover case with more than 1K topics
+
+This backport addresses conflicts caused by commit
+a76c753a9437f5156972e10829bd8db9c0866a33.
 
 Signed-off-by: Yuval Lifshitz <[email protected]>
+(cherry picked from commit 3b959f364fed8350fd98bf889e54aa03f6f03c1d)
+
+ Conflicts:
+	src/test/rgw/bucket_notification/test_bn.py
+
+Signed-off-by: Nithya Balachandran <[email protected]>

================================================================================
RANGE DIFF
================================================================================

1:  3b959f364fe ! 1:  d7c30ef24df test/rgw/notify: cover case with motre than 1K topics
    @@ Metadata
     Author: Yuval Lifshitz <[email protected]>
     
      ## Commit message ##
    -    test/rgw/notify: cover case with motre than 1K topics
    +    test/rgw/notify: cover case with more than 1K topics
    +
    +    This backport addresses conflicts caused by commit
    +    a76c753a9437f5156972e10829bd8db9c0866a33.
     
         Signed-off-by: Yuval Lifshitz <[email protected]>
    +    (cherry picked from commit 3b959f364fed8350fd98bf889e54aa03f6f03c1d)
    +
    +     Conflicts:
    +            src/test/rgw/bucket_notification/test_bn.py
    +
    +    Signed-off-by: Nithya Balachandran <[email protected]>
     
      ## src/test/rgw/bucket_notification/test_bn.py ##
     @@ src/test/rgw/bucket_notification/test_bn.py: import json
    @@ src/test/rgw/bucket_notification/test_bn.py: import json
      import socket
      import time
     @@ src/test/rgw/bucket_notification/test_bn.py: def test_notification_push_kafka_multiple_brokers_append():
    -     notification_push('kafka', conn, kafka_brokers='{host}:9091'.format(host=default_kafka_server))
    +     notification_push('kafka', conn, kafka_brokers='localhost:19092')
      
      
     +@attr('manual_test')
    @@ src/test/rgw/bucket_notification/test_bn.py: def test_notification_push_kafka_mu
      @attr('http_test')
      def test_ps_s3_notification_multi_delete_on_master():
          """ test deletion of multiple keys on master """
    -@@ src/test/rgw/bucket_notification/test_bn.py: def test_persistent_sharded_topic_config_change_kafka():
    -     conn = connection()
    -     new_num_shards = random.randint(2, 10)
    -     default_num_shards = 11
    --    persistent_notification_shard_config_change('kafka', conn, new_num_shards, default_num_shards)
    - \ No newline at end of file
    -+    persistent_notification_shard_config_change('kafka', conn, new_num_shards, default_num_shards)

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit 1d1c22f into ceph:tentacle Jul 21, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants