]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: keep syncstopped flag when copying bucket shard headers 38338/head
authorIlsoo Byun <ilsoobyun@linecorp.com>
Thu, 29 Oct 2020 08:10:45 +0000 (17:10 +0900)
committerNathan Cutler <ncutler@suse.com>
Mon, 30 Nov 2020 11:40:09 +0000 (12:40 +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 cba9a2d73492ad029614bd3b5a83d91cd134c091..cd840339fdd8745f16d0c5bed9a7cd7c0b4a0f86 100644 (file)
@@ -623,6 +623,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;