Project

General

Profile

Bug #26895

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

Copied to rgw - Backport #26979: luminous: multisite: intermittent failures in test_bucket_sync_disable_enable Resolved
Copied to rgw - Backport #26980: mimic: multisite: intermittent failures in test_bucket_sync_disable_enable Resolved

History

#2 Updated by Casey Bodley over 5 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Casey Bodley over 5 years ago

  • Backport set to luminous mimic

#4 Updated by Casey Bodley over 5 years ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #26979: luminous: multisite: intermittent failures in test_bucket_sync_disable_enable added

#6 Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #26980: mimic: multisite: intermittent failures in test_bucket_sync_disable_enable added

#7 Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved".

Also available in: Atom PDF