]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "wip"
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 7 Feb 2023 14:51:33 +0000 (09:51 -0500)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 7 Feb 2023 14:51:33 +0000 (09:51 -0500)
This reverts commit 515ace6b2350e42bace7be2126464ece4c2af95d.

src/rgw/rgw_data_sync.cc

index f89347f720266ca18aa559ca7ca364a343d1e88c..9f890acf2f98a5834fa54f6d590f9d740154d496 100644 (file)
@@ -5596,11 +5596,8 @@ public:
   }
 
   RGWCoroutine *get_pos_cr(const DoutPrefixProvider *dpp, int shard_id, rgw_bucket_index_marker_info *info, bool *disabled) override {
-    if (disabled) {
-      *disabled = false;
-    }
     rgw_bucket_shard source_bs(source_bucket, shard_id);
-    return new RGWReadRemoteBucketIndexLogInfoCR(sc, source_bs, info);
+    return new RGWReadRemoteBucketIndexLogInfoCR(sc, source_bs, info, disabled);
   }
 
   RGWCoroutine *fetch_cr(int shard_id,