Project

General

Profile

Actions

Bug #22804

closed

multisite Synchronization failed when read and write delete at the same time

Added by Amine Liu over 6 years ago. Updated over 5 years ago.

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

0%

Source:
Community (user)
Tags:
multisite sync failed
Backport:
jewel luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

<?xml version="1.0" encoding="UTF-8" ?>
<workload name="s3-sample" description="sample benchmark for s3">

  <storage type="s3" config="accesskey=test1;secretkey=test1;endpoint=http://s3.z1.tt;path_style_access=true" />

  <workflow>

    <workstage name="init">  
      <work type="init" workers="1" config="cprefix=mix01;containers=r(1,2)" />
    </workstage>

    <workstage name="prepare">
      <work type="prepare" workers="1"  config="cprefix=mix01;containers=r(1,2);objects=r(1,10);sizes=c(100)KB" />
    </workstage>

    <workstage name="main">  
      <work name="main" workers="100" runtime="30">
        <operation type="read" ratio="30" config="cprefix=mix01;containers=u(1,2);objects=u(1,10)" />
        <operation type="write" ratio="40" config="cprefix=mix01;containers=u(1,2);objects=u(11,100);sizes=c(100)KB" />
        <operation type="delete" ratio="30" config="cprefix=mix01;containers=u(1,2);objects=u(11,100)" />
      </work>
    </workstage>

  </workflow>

</workload>

After the test, there are differences between the objects on both sides. from the log that these objects are `PUT `and `DELETE` at the same time.

But if just testing mix PUT and GET, sync ok.


Files

master-bilog.txt (316 KB) master-bilog.txt Amine Liu, 02/08/2018 09:40 AM
slave-bilog.txt (144 KB) slave-bilog.txt Amine Liu, 02/08/2018 09:40 AM
master-index100k_objs_591-bilog.rar (1.83 KB) master-index100k_objs_591-bilog.rar Amine Liu, 04/16/2018 04:04 AM

Related issues 2 (0 open2 closed)

Copied to rgw - Backport #23690: luminous: multisite Synchronization failed when read and write delete at the same timeResolvedAbhishek LekshmananActions
Copied to rgw - Backport #23692: jewel: multisite Synchronization failed when read and write delete at the same timeRejectedActions
Actions

Also available in: Atom PDF