Project

General

Profile

Actions

Bug #26895

closed

multisite: intermittent failures in test_bucket_sync_disable_enable

Added by Casey Bodley over 5 years ago. Updated over 4 years ago.

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

0%

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

Description

The test writes some objects while bucket sync is disabled, and those objects sometimes don't sync after its reenabled. This is due to logic in RGWBucketShardIncrementalSyncCR that will continue with incremental sync if it sees both CLS_RGW_OP_SYNCSTOP and CLS_RGW_OP_RESYNC in the same bi listing. This isn't safe, though, because changes while sync is disabled don't add entries to the bilog. So the only way to guarantee that we don't miss any changes is to switch back to full sync instead.


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #26979: luminous: multisite: intermittent failures in test_bucket_sync_disable_enableResolvedNathan CutlerActions
Copied to rgw - Backport #26980: mimic: multisite: intermittent failures in test_bucket_sync_disable_enableResolvedNathan CutlerActions
Actions

Also available in: Atom PDF