Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quincy: rgw: RGWSI_SysObj_Cache::remove() invalidates after successful delete #55718

Merged
merged 1 commit into from May 7, 2024

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Feb 22, 2024

backport tracker: https://tracker.ceph.com/issues/64539


backport of #55634
parent tracker: https://tracker.ceph.com/issues/64480

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

invalidating the cache before the librados delete means that a racing call
to `RGWSI_SysObj_Cache::read()` may succeed and repopulate the cache. in
that case, subsequent reads will continue to return cached data even after
the librados delete succeeds

Fixes: https://tracker.ceph.com/issues/64480

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0eebbc3)

Conflicts: RGWSysObjectCtxBase argument not present on reef/squid
	src/rgw/services/svc_sys_obj_cache.cc
@cbodley cbodley added this to the quincy milestone Feb 22, 2024
@yuriw
Copy link
Contributor

yuriw commented Apr 17, 2024

This PR is under test in https://tracker.ceph.com/issues/65558.

@yuriw
Copy link
Contributor

yuriw commented Apr 17, 2024

This PR is under test in https://tracker.ceph.com/issues/65561.

@yuriw
Copy link
Contributor

yuriw commented Apr 22, 2024

@yuriw
Copy link
Contributor

yuriw commented Apr 22, 2024

jenkins test make check

@cbodley cbodley merged commit 88d8c41 into ceph:quincy May 7, 2024
10 of 11 checks passed
@cbodley cbodley deleted the wip-64539-quincy branch May 7, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants