duongkame commented on code in PR #7371:
URL: https://github.com/apache/ozone/pull/7371#discussion_r1819937171


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockOutputStream.java:
##########
@@ -768,6 +778,7 @@ private synchronized CompletableFuture<Void> 
handleFlushInternalSynchronized(boo
     if (putBlockResultFuture != null) {
       recordWatchForCommitAsync(putBlockResultFuture);
     }
+    clientMetrics.getHsyncSendWriteChunkNs().add(Time.monotonicNowNanos() - 
start);

Review Comment:
   I think it's ok, we want to see normal metrics. This method is long, I 
didn't wanna add indentation to it. 



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