Project

General

Profile

Actions

Bug #75010

open
SM SM

rgw-multisite: fix data full sync error repo writes

Bug #75010: rgw-multisite: fix data full sync error repo writes

Added by Shilpa MJ 10 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

this bug was found by downstream QE. when data full sync is in progress and if there are failures like -EBUSY, -EIO etc., sync silently fails and status shows as caught up.

cause:
both full sync and incremental sync errors are expected to be retried in error repos, but since the full sync entries don't come with a valid timestamp, writing to error repo is skipped in https://github.com/ceph/ceph/blob/main/src/rgw/driver/rados/rgw_data_sync.cc#L1522.

reproducer:
1. configure single site, create bucket and upload objects
2. configure multisite and add a new zone. this starts a full sync.
3. while full sync is in progress, restart primary radosgw
4. this results in -EBUSY errors in the logs on secondary zone.
5. after some time, sync status shows caught up but the objects are missing on secondary.

SM Updated by Shilpa MJ 10 months ago Actions #1

  • Subject changed from rgw-multisite: fix data full sync timestamp to rgw-multisite: fix data full sync error repo writes

SM Updated by Shilpa MJ 10 months ago Actions #2

  • Backport set to reef squid tentacle

KS Updated by Konstantin Shalygin 8 months ago Actions #3

  • Backport changed from reef squid tentacle to squid tentacle
Actions

Also available in: PDF Atom