Project

General

Profile

Actions

Bug #47555

open

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

Added by ren weiguo over 3 years ago. Updated about 3 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.


Files

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

Also available in: Atom PDF