Project

General

Profile

Bug #19816

multisite: set_latest_epoch not atomic

Added by Casey Bodley 6 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
05/01/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

see comment in rgw_period_puller.cc:

    // XXX: if this is a newer epoch, we should overwrite the existing
    // latest_epoch. but there's no way to do that atomically
    bool exclusive = true;
    r = period.set_latest_epoch(period.get_epoch(), exclusive);


Related issues

Related to rgw - Bug #19817: multisite: RGWPeriodPuller does not call RGWPeriod::reflect() on new period Resolved 05/01/2017

History

#1 Updated by Casey Bodley 6 months ago

  • Status changed from New to Need Review
  • Backport deleted (jewel kraken)

https://github.com/ceph/ceph/pull/14915

added backport tags to related issue http://tracker.ceph.com/issues/19817, removing them from this one

#2 Updated by Casey Bodley 6 months ago

  • Related to Bug #19817: multisite: RGWPeriodPuller does not call RGWPeriod::reflect() on new period added

#3 Updated by Yehuda Sadeh 6 months ago

  • Priority changed from Normal to High

#4 Updated by Yuri Weinstein 3 months ago

Casey Bodley wrote:

https://github.com/ceph/ceph/pull/14915

added backport tags to related issue http://tracker.ceph.com/issues/19817, removing them from this one

merged

#5 Updated by Casey Bodley 3 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF