Repository navigation
tentacle: rgw/notification: Prevent reserved_size leak by decrementing overhead on commit/abort. - #67576
Conversation
… 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)
|
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. |
agree with @kchheda3 this can cause service outage, and without the fix the only solution is to recreate the topic (causing data loss) |
|
This needs to be run through QA. |
|
FYI, pr testing is in progress... |
pr testing completed and approved by @ivancich , More details in : https://tracker.ceph.com/issues/75781. |
backport tracker: https://tracker.ceph.com/issues/75192
backport of #67169
parent tracker: https://tracker.ceph.com/issues/74713
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh