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

Commits on Feb 22, 2024

  1. rgw: RGWSI_SysObj_Cache::remove() invalidates after successful delete

    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 committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    1a76fa5 View commit details
    Browse the repository at this point in the history