fmorg-git commented on code in PR #11931:
URL: https://github.com/apache/ozone/pull/11931#discussion_r4603769878
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/multipart/S3MultipartUploadCompleteRequest.java:
##########
@@ -566,7 +580,10 @@ protected OmKeyInfo getOmKeyInfo(long trxnLogIndex,
builder.setTags(dbOpenKeyInfo.getTags());
}
}
- return builder.setUpdateID(trxnLogIndex).build();
+ // Retain enough information to recognize a retry after the multipart
tables have been cleaned up.
+ return builder.addMetadata(COMPLETED_UPLOAD_ID,
keyArgs.getMultipartUploadID())
+ .addMetadata(COMPLETED_UPLOAD_PARTS, completedPartsHash(partsList))
Review Comment:
should these keys be excluded in a CopyObject request for `COPY` directive?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]