File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6543,12 +6543,14 @@ void RGWCompleteMultipart::execute(optional_yield y)
65436543 rgw_placement_rule* dest_placement;
65446544 op_ret = upload->get_info (this , s->yield , &dest_placement);
65456545 if (op_ret < 0 ) {
6546- /* XXX this fails inconsistently when !checksum */
6546+ /* XXX this fails consistently when !checksum */
65476547 ldpp_dout (this , 0 ) <<
6548- " ERROR : MultipartUpload::get_info() for placement failed "
6548+ " WARNING : MultipartUpload::get_info() for placement failed "
65496549 << " ret=" << op_ret << dendl;
6550- op_ret = -ERR_INTERNAL_ERROR;
6551- return ;
6550+ if (upload->cksum_type != rgw::cksum::Type::none) {
6551+ op_ret = -ERR_INTERNAL_ERROR;
6552+ return ;
6553+ }
65526554 }
65536555
65546556 RGWCompressionInfo cs_info;
You can’t perform that action at this time.
0 commit comments