This ensures that the remote bucket index log info is available for
all cases where we're calling `InitBucketFullSyncStatusCR`
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
tn->log(20, SSTR("sync status for source bucket: " << bucket_status.state <<
". lease is: " << (bucket_lease_cr ? "taken" : "not taken") << ". stop indications is: " << bucket_stopped));
- if (bucket_status.state == BucketSyncState::Init ||
- bucket_status.state == BucketSyncState::Stopped ||
+ 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));