]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: keep syncstopped flag when copying bucket shard headers 37892/head
authorIlsoo Byun <ilsoobyun@linecorp.com>
Thu, 29 Oct 2020 08:10:45 +0000 (17:10 +0900)
committerIlsoo Byun <ilsoobyun@linecorp.com>
Thu, 29 Oct 2020 09:27:47 +0000 (18:27 +0900)
Fixes: https://tracker.ceph.com/issues/48037
Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
src/cls/rgw/cls_rgw.cc

index c36e31c301a07bceaf99195ec15d8910f9dcae2c..94218bb9bc80312703f28bde72f83329f843f6a1 100644 (file)
@@ -637,6 +637,7 @@ static int check_index(cls_method_context_t hctx,
 
   calc_header->tag_timeout = existing_header->tag_timeout;
   calc_header->ver = existing_header->ver;
+  calc_header->syncstopped = existing_header->syncstopped;
 
   map<string, bufferlist> keys;
   string start_obj;