Actions
Bug #56576
openrgw: bucket sync, fetch wrong remote bucket info
% Done:
0%
Source:
Tags:
multisite backport_processed
Backport:
quincy pacific
Regression:
No
Severity:
3 - minor
Reviewed:
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.
Actions