Merge pull request #37892 from IlsooByun/fix_bucket_sync_err

rgw: keep syncstopped flag when copying bucket shard headers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
This commit is contained in:
J. Eric Ivancich 2020-11-04 10:00:03 -05:00 committed by GitHub
commit fac6f46c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;