Repository navigation
squid: rgw: skip writing ObjectCache when incoming obj_version is stale - #71059
Conversation
934043f to
82f86d6
Compare
|
/audit retest |
|
🔄 Audit Retest Triggered by @SaravananPalanisamyRWTH. |
|
. The resulting conflict resolution has been documented in 82f86d6 Still the automated audit fails. Could anyone comment /audit override here ? |
|
ok to test |
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
cbodley
left a comment
There was a problem hiding this comment.
https://tracker.ceph.com/issues/80389 tracks a regression in multisite, i'd like to see that resolved before we merge backports
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
ObjectCache::put() always overwrote the cache version without checking if a newer one was already stored. Guard the write: when both the existing and incoming entries carry CACHE_FLAG_OBJV with the same tag, skip the put, if the incoming version is lower Fixes: https://tracker.ceph.com/issues/77554 Signed-off-by: Saravanan Palanisamy <[email protected]> (cherry picked from commit ff056da)
Fixes: https://tracker.ceph.com/issues/77554 Signed-off-by: Saravanan Palanisamy <[email protected]> (cherry picked from commit 34b8199)
Inject a configurable sleep in distribute_cache() before the watch/notify is sent, to hold a cache notification in-flight and reproduce timing- sensitive races in integration tests. Reuses the shared rgw_inject_delay_sec / rgw_inject_delay_pattern fault-injection framework (pattern "delay_distribute_cache"). Do not use in production. Signed-off-by: Saravanan Palanisamy <[email protected]> (cherry picked from commit 75ec93a)
Tests: https://tracker.ceph.com/issues/77731 Signed-off-by: Saravanan Palanisamy <[email protected]> (cherry picked from commit a6d239e) Conflicts: src/test/rgw/rgw_multi/tests.py - appended the new test after test_object_lock_sync(), which ends the file in squid
82f86d6 to
ab292e5
Compare
|
New commits were pushed to this PR, so the previous override has been removed. |
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
@cbodley You blocked this for a followup PR which I've marked as needing to be tested along with it. Is that sufficient? |
|
This PR has been added to wip-anrao13-testing-2026-10-29-0444-squid. |
pr testing completed and approved by @ivancich , more details in : https://tracker.ceph.com/issues/82262. |
|
This needs retested with #72531. |
|
This PR has been added to wip-anrao12-testing-2026-11-04-1104-squid. |
pr testing completed and approved by @ivancich , More details on : https://tracker.ceph.com/issues/82661. |
backport tracker: https://tracker.ceph.com/issues/79145
backport of #69748
parent tracker: https://tracker.ceph.com/issues/77554
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