Project

General

Profile

Actions

Bug #64480

open

metadata cache races on deletes

Added by Casey Bodley 3 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
cache metadata backport_processed
Backport:
quincy reef squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

RGWSI_SysObj_Cache::remove() invalidates the cached entry before issuing the RGWSI_SysObj_Core::remove() call that sends the actual librados delete op

this means that a racing call to RGWSI_SysObj_Cache::read() may successfully read the object from rados and repopulate the cache. subsequent reads will continue to return cached data after the librados delete succeeds


Related issues 3 (1 open2 closed)

Copied to rgw - Backport #64539: quincy: metadata cache races on deletesResolvedCasey BodleyActions
Copied to rgw - Backport #64540: reef: metadata cache races on deletesIn ProgressCasey BodleyActions
Copied to rgw - Backport #64541: squid: metadata cache races on deletesResolvedCasey BodleyActions
Actions

Also available in: Atom PDF