Project

General

Profile

Actions

Bug #56576

open

rgw: bucket sync, fetch wrong remote bucket info

Added by Yehuda Sadeh almost 2 years ago. Updated 6 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

Here:

      if (bucket_status.state != BucketSyncState::Incremental ||
          bucket_stopped) { 
        // if state is Init or Stopped, we query the remote RGW for ther state
        yield call(new RGWReadRemoteBucketIndexLogInfoCR(sc, sync_pair.dest_bucket, &info));
        if (retcode < 0) {
          return set_cr_error(retcode);
        }

It doesn't make sense to fetch the dest_bucket info when accessing the source, need source_bucket info.


Related issues 2 (1 open1 closed)

Copied to rgw - Backport #56704: quincy: rgw: bucket sync, fetch wrong remote bucket infoNewYehuda SadehActions
Copied to rgw - Backport #56705: pacific: rgw: bucket sync, fetch wrong remote bucket infoRejectedYehuda SadehActions
Actions #1

Updated by Casey Bodley almost 2 years ago

  • Status changed from New to Fix Under Review
  • Tags set to multisite
  • Backport set to quincy pacific
  • Pull request ID set to 47120
Actions #2

Updated by Casey Bodley over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot over 1 year ago

  • Copied to Backport #56704: quincy: rgw: bucket sync, fetch wrong remote bucket info added
Actions #4

Updated by Backport Bot over 1 year ago

  • Copied to Backport #56705: pacific: rgw: bucket sync, fetch wrong remote bucket info added
Actions #5

Updated by Backport Bot over 1 year ago

  • Tags changed from multisite to multisite backport_processed
Actions #6

Updated by Konstantin Shalygin 6 months ago

  • Assignee set to Yehuda Sadeh
Actions

Also available in: Atom PDF