Project

General

Profile

Actions

Bug #21210

closed

rgw:multisite: put obj in a version-suspended bucket when sync to slave zone, the list_index cannot added corretlly

Added by shasha lu over 6 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

steps to reproduce:
1、create a bucket, enable version.
2、put objA several times, there will be multi versions.
3、suspended verion of the bucket
4、put objA again. The version id is null
5、In slave zone, the prior versions can be synced correctly. Using list_versions api, the last null version can't be found.

In the osd which the bucket index is located, we found the following logs:
2017-08-30 17:42:29.346543 7fc2e1a1d700 5 <cls> cls/rgw/cls_rgw.cc:1456: NOTICE: op.olh_tag (te6645ws1chc83ag3y489jdniv7gd1je) != olh.tag (achyl6qdgfu9h6bpya42czqi7lc8ke0h)

When sync prior versions, the olh is not exsit. The slave zone will create olh itself. The olh.idtag is rand generated.
The null version's data_instance and olh is the same obj. When sync the null version's data, the olh attr is also synced to slave zone regarded as obj metadata.
Thus the olh.tag in olh_data_entry and the tag in olh is not the same.


Related issues 1 (0 open1 closed)

Is duplicate of rgw - Bug #37792: multisite: overwrites in versioning-suspended buckets fail to syncResolvedCasey Bodley01/04/2019

Actions
Actions #2

Updated by Casey Bodley over 6 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Casey Bodley
Actions #3

Updated by Casey Bodley over 2 years ago

  • Is duplicate of Bug #37792: multisite: overwrites in versioning-suspended buckets fail to sync added
Actions #4

Updated by Casey Bodley over 2 years ago

  • Status changed from Fix Under Review to Duplicate
Actions

Also available in: Atom PDF