Project

General

Profile

Actions

Bug #72950

closed
SM SM

rgw-multisite: object set_attrs fail to sync from secondary to primary

Bug #72950: rgw-multisite: object set_attrs fail to sync from secondary to primary

Added by Shilpa MJ about 1 year ago. Updated 29 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-3343-gc45212043a
Released In:
v21.2.0~1952
Upkeep Timestamp:
2026-11-04T01:07:06+00:00

Description

create an object on zone A and let it sync to zone B. now set an object attribute like tagging or putacl, &c. from zone B. it fails to sync to zone A.

this is because when the initial object creation syncs from zone A, datasync on destination zone B adds zone A into source_trace_entry which is stored as an object attr RGW_ATTR_OBJ_REPLICATION_TRACE. now when we add/modify any attributes on this object in the opposite direction, where zone A becomes the destination zone, we add zone A into dst_zone_trace. during a GetObj on zone B, we then go on to compare if we have already synced to zone A by comparing dst_zone_trace with entries stored in RGW_ATTR_OBJ_REPLICATION_TRACE and since zone A already exists in the trace as part of the initial object create op, we return ERR_NOT_MODIFIED, thus failing to sync the obj attribute.

this comparison check was added in https://github.com/ceph/ceph/pull/51715 that tried to solve a put/delete race. but unfortunately, we did not account for
object attr modifications coming from other zones.


Related issues 2 (2 open — 0 closed)

Copied to rgw - Backport #73325: squid: rgw-multisite: object set_attrs fail to sync from secondary to primaryNewShilpa MJ

Actions
Copied to rgw - Backport #73326: tentacle: rgw-multisite: object set_attrs fail to sync from secondary to primaryNewShilpa MJ

Actions

SM Updated by Shilpa MJ about 1 year ago Actions #1

  • Status changed from New to Fix Under Review
  • Pull request ID set to 65479

SM Updated by Shilpa MJ about 1 year ago Actions #2

  • Backport set to tentacle reef squid

CB Updated by Casey Bodley about 1 year ago Actions #3

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from tentacle reef squid to tentacle squid

UB Updated by Upkeep Bot about 1 year ago Actions #4

  • Merge Commit set to c45212043a2da3db2935a320d764ad955b5a36a3
  • Fixed In set to v20.3.0-3343-gc45212043a
  • Upkeep Timestamp set to 2025-09-30T14:12:17+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #5

  • Copied to Backport #73325: squid: rgw-multisite: object set_attrs fail to sync from secondary to primary added

UB Updated by Upkeep Bot about 1 year ago Actions #6

  • Copied to Backport #73326: tentacle: rgw-multisite: object set_attrs fail to sync from secondary to primary added

UB Updated by Upkeep Bot about 1 year ago Actions #7

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-09-30T14:12:17+00:00 to 2026-08-27T18:12:58+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #9

  • Released In set to v21.2.0~1951
  • Upkeep Timestamp changed from 2026-08-27T18:12:58+00:00 to 2026-10-24T01:08:39+00:00

UB Updated by Upkeep Bot 29 days ago Actions #10

  • Released In changed from v21.2.0~1951 to v21.2.0~1952
  • Upkeep Timestamp changed from 2026-10-24T01:08:39+00:00 to 2026-11-04T01:07:06+00:00
Actions

Also available in: PDF Atom