Skip to content

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

Merged
cbodley merged 1 commit into
ceph:quincyfrom
cbodley:wip-64539-quincy
May 7, 2024
Merged

cbodley merged 1 commit into
ceph:quincyfrom
cbodley:wip-64539-quincy

Conversation

@cbodley

@cbodley cbodley commented Feb 22, 2024

Copy link
Copy Markdown
Contributor

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 <[email protected]>
(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

yuriw commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Apr 22, 2024

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Apr 22, 2024

Copy link
Copy Markdown
Contributor

jenkins test make check

@cbodley
cbodley merged commit 88d8c41 into ceph:quincy May 7, 2024
@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

Development

Successfully merging this pull request may close these issues.

3 participants