Skip to content

squid: cls/2pc_queue: skip NO_ID when the reservation id wraps - #73873

Open
mheler wants to merge 1 commit into
ceph:squidfrom
mheler:wip-83113-squid
Open

mheler wants to merge 1 commit into
ceph:squidfrom
mheler:wip-83113-squid

Conversation

@mheler

@mheler mheler commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

cls_2pc_queue_reserve bumps last_id without skipping 0, so after 2^32
reservations on a queue it hands out NO_ID. rgw then skips the commit
and abort for that reservation and the notification is lost. Skip 0
when last_id wraps.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit b24b96b)
@mheler
mheler requested a review from a team as a code owner November 13, 2026 18:57
@mheler mheler added this to the squid milestone Nov 13, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Nov 13, 2026
@mheler mheler added the rgw label Nov 13, 2026
@yuriw

yuriw commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri5-testing-20261117.214518-squid.

@batrick

batrick commented Nov 25, 2026

Copy link
Copy Markdown
Member

jenkins test api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa releng-audit-pass Release engineering: passed backport verification audit. rgw wip-yuri5-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants