rgw: keep syncstopped flag when copying bucket shard headers

Fixes: https://tracker.ceph.com/issues/48037

Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
This commit is contained in:
Ilsoo Byun 2020-10-29 17:10:45 +09:00
parent a80cb18726
commit 5a94be030b

View 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;