Project

General

Profile

Actions

Bug #37792

closed

multisite: overwrites in versioning-suspended buckets fail to sync

Added by Casey Bodley over 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
multisite versioning
Backport:
luminous mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

steps to reproduce in a two-zone multisite configuration:

  1. create a bucket
  2. upload an object "obj"
  3. enable versioning on the bucket
  4. reupload the same object "obj"
  5. suspend versioning on the bucket
  6. reupload the same object "obj"

the third upload will repeatedly fail to sync with errors like "cls_rgw_bucket_link_olh() returned r=-125" in the rgw log, and errors like "NOTICE: op.olh_tag (zxopy27aag3jjr38ddtow7517gdpgz4c) != olh.tag (bne5h7ou7gingobf89ae5crr2p3p284y)" in the osd log. this happens because, in this specific case, fetch_remote_obj() takes the source zone's olh attributes and writes them directly to the head object, instead of first fetching from the current head object in rados


Related issues 4 (0 open4 closed)

Related to rgw - Bug #39118: rgw: remove_olh_pending_entries() does not limit the number of xattrs to removeResolvedCasey Bodley04/04/2019

Actions
Has duplicate rgw - Bug #21210: rgw:multisite: put obj in a version-suspended bucket when sync to slave zone, the list_index cannot added corretllyDuplicateCasey Bodley

Actions
Copied to rgw - Backport #38080: mimic: multisite: overwrites in versioning-suspended buckets fail to syncResolvedNathan CutlerActions
Copied to rgw - Backport #38081: luminous: multisite: overwrites in versioning-suspended buckets fail to syncResolvedCasey BodleyActions
Actions

Also available in: Atom PDF