mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
Merge pull request #36213 from joke-lee/BulkUpload_md5
rgw: fix md5 not match for RGWBulkUploadOp upload when enable rgw com… Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
84be9581dc
@ -7496,7 +7496,7 @@ int RGWBulkUploadOp::handle_file(const std::string_view path,
|
||||
ceph::bufferlist tmp;
|
||||
RGWCompressionInfo cs_info;
|
||||
cs_info.compression_type = plugin->get_type_name();
|
||||
cs_info.orig_size = s->obj_size;
|
||||
cs_info.orig_size = size;
|
||||
cs_info.compressor_message = compressor->get_compressor_message();
|
||||
cs_info.blocks = std::move(compressor->get_compression_blocks());
|
||||
encode(cs_info, tmp);
|
||||
|
Loading…
Reference in New Issue
Block a user