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: v14.2.17~102^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F38589%2Fhead;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 d5cbcd892a0..741d8c57190 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -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 keys; string start_obj;