]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: bucket sync updates high marker for squashed entries
authorCasey Bodley <cbodley@redhat.com>
Tue, 5 Jun 2018 13:16:10 +0000 (09:16 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 25 Jun 2018 13:38:28 +0000 (09:38 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc

index 3a7118e72453aac6bdad2629e289edb16a9e355a..1a35051fc42d146446dac556cc3ce33c7b8da27d 100644 (file)
@@ -3009,7 +3009,7 @@ int RGWBucketShardIncrementalSyncCR::operate()
           set_status() << "squashed operation, skipping";
           tn->log(20, SSTR("skipping object: "
               << bucket_shard_str{bs} << "/" << key << ": squashed operation"));
-          /* not updating high marker though */
+          marker_tracker.try_update_high_marker(cur_id, 0, entry->timestamp);
           continue;
         }
         tn->set_flag(RGW_SNS_FLAG_ACTIVE);