Project

General

Profile

Bug #47555

In a multi-site environment, cosbench writes and deletes the master object, and the master object remains

Added by ren weiguo over 2 years ago. Updated almost 2 years ago.

Status:
New
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

In my test.cosbench writes and deletes the master object, and the master object remains. I found out that it was because master full sync was after del object。Look object.png
Here is a simple way to reproduce!!!
rgwA and rgwB are two zones of the same zonegroup
t0: rgwA and rgwB is running (set rgw_run_sync_thread=true)
t1: rgwA set rgw_run_sync_thread=false and restart it . We use s3cmd to create a bucket. And upload an object1. We use s3cmd to observe whether object1 has been synchronized in rgwB. If the synchronization has passed, proceed to the next step.
t2:rgwB set rgw_run_sync_thread=false and restart it . rgwA delete object1 .
t3:rgwA set rgw_run_sync_thread=true and restart it . LOOK radosgw-admin bucket sync status is cauht up it.
t4: rgwB set rgw_run_sync_thread=true and restart it. LOOK radosgw-admin bucket sync status is cauht up . the reslut: rgwA has object1,rgwB dosen't have object1.

object.png View (28 KB) ren weiguo, 09/21/2020 07:47 AM

History

#1 Updated by Brad Hubbard over 2 years ago

  • Project changed from Ceph to rgw

#2 Updated by Abhishek Lekshmanan over 2 years ago

  • Assignee set to Casey Bodley

#3 Updated by Casey Bodley over 2 years ago

  • Assignee deleted (Casey Bodley)

#4 Updated by ren weiguo almost 2 years ago

In the master branch, this problem was also reproduced.so If the bucket about the rgwA instance is
not in the incremental synchronization state, can we prohibit rgwA
from deleting object1? or Don't do it.
I also send 'In the ceph multisite master-zone, read ,write,delete objects, and the master-zone has data remaining' in

Also available in: Atom PDF