Bug 2219427 - rgw: take upstream fixes for race handling zone trace during full sync
Summary: rgw: take upstream fixes for race handling zone trace during full sync
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW-Multisite
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 7.0
Assignee: Matt Benjamin (redhat)
QA Contact: Tejas
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2219465 2237662
TreeView+ depends on / blocked
 
Reported: 2023-07-03 15:31 UTC by Matt Benjamin (redhat)
Modified: 2024-05-30 04:25 UTC (History)
5 users (show)

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.
Clone Of:
: 2219465 (view as bug list)
Environment:
Last Closed: 2023-12-13 15:20:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 51715 0 None Merged RGW: Pass and check destination zone trace when fetching object 2023-07-03 15:31:51 UTC
Red Hat Issue Tracker RHCEPH-6952 0 None None None 2023-07-03 15:33:26 UTC
Red Hat Product Errata RHBA-2023:7780 0 None None None 2023-12-13 15:20:44 UTC

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


Note You need to log in before you can comment on or make changes to this bug.