Skip to content

tentacle: rgw/notification: Prevent reserved_size leak by decrementing overhead on commit/abort. - #67576

Merged
batrick merged 2 commits into
ceph:tentaclefrom
kchheda3:wip-75192-tentacle
Jul 14, 2026
Merged

batrick merged 2 commits into
ceph:tentaclefrom
kchheda3:wip-75192-tentacle

Conversation

@kchheda3

Copy link
Copy Markdown
Contributor

… on commit/abort.

Signed-off-by: kchheda3 <[email protected]>
(cherry picked from commit 00ad83d)
… errors

The urgent_data.reserved_size field was accumulating incorrect values over time due to a mismatch between what was added during reserve() and what was subtracted during commit()/abort(). This caused the reserved_size to grow unbounded, eventually hitting the queue capacity limit and returning ENOSPC errors even when the queue had plenty of actual space.

solution:
Add a one time self healing capability, where the reservation value is re calculated during the reserve and counter is updated with correct value.

Signed-off-by: Krunal Chheda <[email protected]>
(cherry picked from commit 7f4eaee)
@kchheda3 kchheda3 added this to the tentacle milestone Feb 27, 2026
@kchheda3 kchheda3 added the rgw label Feb 27, 2026
@kchheda3
kchheda3 requested a review from yuvalif February 27, 2026 19:07
@kchheda3 kchheda3 modified the milestones: tentacle, v20.2.1 Mar 2, 2026
@batrick

batrick commented Mar 3, 2026

Copy link
Copy Markdown
Member

Without justification that this is a blocker, I'm moving it to tentacle for v20.2.2.

@batrick batrick modified the milestones: v20.2.1, tentacle Mar 3, 2026
@kchheda3

kchheda3 commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

Without justification that this is a blocker, I'm moving it to tentacle for v20.2.2.

The sooner the fix goes out to folks using notification feature in production, better as without this fix, end users will have to delete their notification topic and re-create and also cause blocked s3 requests.
@yuvalif

@yuvalif

yuvalif commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Without justification that this is a blocker, I'm moving it to tentacle for v20.2.2.

The sooner the fix goes out to folks using notification feature in production, better as without this fix, end users will have to delete their notification topic and re-create and also cause blocked s3 requests. @yuvalif

agree with @kchheda3 this can cause service outage, and without the fix the only solution is to recreate the topic (causing data loss)

@anrao19 anrao19 added the wip-anrao6-testing wip-anrao6-testing label Mar 30, 2026
@kchheda3 kchheda3 modified the milestones: tentacle, v20.2.2 Apr 6, 2026
@batrick

batrick commented Apr 6, 2026

Copy link
Copy Markdown
Member

This needs to be run through QA.

@anrao19

anrao19 commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress...
Tracker created for same is : https://tracker.ceph.com/issues/75781

@batrick batrick added releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels Apr 30, 2026
@batrick batrick modified the milestones: v20.2.2, v20.2.3 May 15, 2026
@anrao19

anrao19 commented May 27, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress... Tracker created for same is : https://tracker.ceph.com/issues/75781

pr testing completed and approved by @ivancich , More details in : https://tracker.ceph.com/issues/75781.
@kchheda3 , if no further testing is needed then this pr can be merged

@anrao19 anrao19 added TESTED ready-to-merge and removed wip-anrao6-testing wip-anrao6-testing labels May 27, 2026
@batrick
batrick merged commit ea85a27 into ceph:tentacle Jul 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa ready-to-merge releng-audit-pass Release engineering: passed backport verification audit. rgw TESTED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants