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


##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -2358,7 +2366,7 @@ private KeyOutputStream.Builder createKeyOutputStream(
         .enableUnsafeByteBufferConversion(unsafeByteBufferConversion)
         .setConfig(clientConfig)
         .setAtomicKeyCreation(isS3GRequest.get())
-        .setClientMetrics(clientMetrics)
+        
.setBlockOutPutStreamResourceProvider(blockOutPutStreamResourceProvider)

Review Comment:
   Thanks a lot @xichen01 for updating the patch.  Most of the updates look 
good, but I think this part needs to improved.  I think it would be better to 
replace the `LinkedList` in `AbstractCommitWatcher` with a 
`CopyOnWriteArrayList`, rather than synchronizing `thenApplyAsync` completely.
   
   CC @szetszwo



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