Bug 2219427

Summary: rgw: take upstream fixes for race handling zone trace during full sync
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Matt Benjamin (redhat) <mbenjamin>
Component: RGW-MultisiteAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: Tejas <tchandra>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: medium    
Version: 6.1CC: akraj, ceph-eng-bugs, cephqe-warriors, kdreyer, tchandra
Target Milestone: ---   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.0-1 Doc Type: Bug Fix
Doc Text:
.Multi-site replication now maintains consistent states between zones and prevents overwriting deleted objects Previously, a race condition in multi-site replication would allow objects that should be deleted to be copied back from another site, resulting in an inconsistent state between zones. As a result, the zone which is receiving the workload ends up with some objects which should be deleted still present. With this fix, a custom header is added to pass the destination zone's trace string and is then checked against the object's replication trace. If there is a match, a 304 response is returned, preventing the full sync from overwriting a deleted object.
Story Points: ---
Clone Of:
: 2219465 (view as bug list) Environment:
Last Closed: 2023-12-13 15:20:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2219465, 2237662    

Description Matt Benjamin (redhat) 2023-07-03 15:31:00 UTC
Description of problem:

The proposed fix for a race condition in multisite during full sync involving deletes. A custom header was added passing the destination zone's trace string and is then checked against the object's replication trace. If there is a match, a 304 response is returned which will prevent full sync from overwriting a deleted object. Please see the tracker for more details.

Comment 1 RHEL Program Management 2023-07-03 15:31:11 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 7 errata-xmlrpc 2023-12-13 15:20:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:7780

Comment 8 Red Hat Bugzilla 2024-05-30 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days