From: Ilsoo Byun Date: Thu, 29 Oct 2020 08:10:45 +0000 (+0900) Subject: rgw: keep syncstopped flag when copying bucket shard headers X-Git-Tag: v15.2.9~121^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1155b94e4a5d97e95f7507dbb62c9c935295538d;p=ceph.git rgw: keep syncstopped flag when copying bucket shard headers Fixes: https://tracker.ceph.com/issues/48037 Signed-off-by: Ilsoo Byun (cherry picked from commit 5a94be030b67085ef08c7b3a4450d3d19420a9c4) --- diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc index cba9a2d73492..cd840339fdd8 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -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 keys; string start_obj;