adoroszlai commented on code in PR #5789:
URL: https://github.com/apache/ozone/pull/5789#discussion_r1426354012


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -1854,7 +1855,7 @@ public OzoneDataStreamOutput createMultipartStreamKey(
             .setMultipartUploadID(uploadID)
             .setIsMultipartKey(true)
             .enableUnsafeByteBufferConversion(unsafeByteBufferConversion)
-            .setConfig(conf.getObject(OzoneClientConfig.class))
+            .setConfig(clientConfig)

Review Comment:
   This one, and the other two similar items are creating new configs 
intentionally.  Please see HDDS-8216.
   
   To reduce config loading, but still keep config loading to minimum, we could 
cache and reuse `OzoneClientConfig` instance per EC chunk size.



-- 
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]

Reply via email to