Uh oh!
There was an error while loading. Please reload this page.
HDDS-5879. [Ozone-Streaming] OzoneBucket add the createMultipartStreamKey method - #2760
Conversation
captainzmc
commented
Oct 22, 2021
Thanks @guohao-rosicky for your contribution. Could you update the URL of jira in comment? Also, the current code check style still has some problems, and it is better to add some UT to test the new interface. |
f7ea63a to
46f4fa4Compareguohao-rosicky
commented
Oct 22, 2021
guohao-rosicky
commented
Oct 22, 2021
Thanks @captainzmc , has been modified. |
There was a problem hiding this comment.
Can we create a Jira for this TODO
There was a problem hiding this comment.
Thanks @bharatviswa504 , new jira url: https://issues.apache.org/jira/browse/HDDS-5892
46f4fa4 to
dffcd34Compareguohao-rosicky
commented
Oct 25, 2021
Thanks @captainzmc , already added UT. |
szetszwo
left a comment
There was a problem hiding this comment.
Thanks for working on this. Just a question inlined.
There was a problem hiding this comment.
Why we pass replicationConfig but not use openKey.getKeyInfo().getReplicationConfig()?
There was a problem hiding this comment.
@szetszwo
I noticed it. Thanks for reminding me. I have revised it.
e10fe82 to
b9c5d4cCompareb9c5d4c to
c47548aCompare
szetszwo
left a comment
There was a problem hiding this comment.
@guohao-rosicky , thanks for the update.
The new testMultiPartUploadWithStream() failed. Please take a look.
I also have a minor comment inlined.
| if (feInfo != null) { | ||
| // todo: need to support file encrypt, | ||
| // https://issues.apache.org/jira/browse/HDDS-5892 | ||
| return null; |
There was a problem hiding this comment.
Let's throw a UnsupportedOperationException.
throw new UnsupportedOperationException(
"FileEncryptionInfo is not yet supported in createMultipartStreamKey");
szetszwo
commented
Nov 17, 2021
@guohao-rosicky , TestOzoneRpcClientAbstract.testMultiPartUploadWithStream failed again in the last build. Please take a look. |
guohao-rosicky
commented
Nov 19, 2021
Thanks @szetszwo , please TBR. |
szetszwo
left a comment
There was a problem hiding this comment.
+1 the change looks good.
…mKey method (apache#2760) (cherry picked from commit 2054fe4)
https://issues.apache.org/jira/browse/HDDS-5879
OzoneBucket and RpcClient not support multipart upload with Stream.
Add the createMultipartStreamKey method