Like all the other error messages in complete multipart upload, add a
more descriptive reason when we fail a multipart upload when we have
lesser parts than expected by the client
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
total_parts += obj_parts.size();
if (!truncated && total_parts != (int)parts->parts.size()) {
+ ldout(s->cct, 0) << "NOTICE: total parts mismatch: have: " << total_parts
+ << " expected: " << parts->parts.size() << dendl;
op_ret = -ERR_INVALID_PART;
return;
}