Project

General

Profile

Actions

Bug #19816

closed

multisite: set_latest_epoch not atomic

Added by Casey Bodley almost 7 years ago. Updated almost 7 years ago.

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

0%

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

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 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF