]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: keep syncstopped flag when copying bucket shard headers 38589/head
authorIlsoo Byun <ilsoobyun@linecorp.com>
Thu, 29 Oct 2020 08:10:45 +0000 (17:10 +0900)
committerNathan Cutler <ncutler@suse.com>
Tue, 15 Dec 2020 14:19:26 +0000 (15:19 +0100)
Fixes: https://tracker.ceph.com/issues/48037
Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
(cherry picked from commit 5a94be030b67085ef08c7b3a4450d3d19420a9c4)

src/cls/rgw/cls_rgw.cc

index d5cbcd892a0dd700c27aa04e7004e6e72dc70b22..741d8c571906708a4a455d87575640e16c62aa6f 100644 (file)
@@ -505,6 +505,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;