smengcl commented on code in PR #6014:
URL: https://github.com/apache/ozone/pull/6014#discussion_r1628432734


##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockOutputStream.java:
##########
@@ -511,22 +514,33 @@ ContainerCommandResponseProto> executePutBlock(boolean 
close,
           putBlockAsync(xceiverClient, blockData, close, tokenString);
       CompletableFuture<ContainerProtos.ContainerCommandResponseProto> future =
           asyncReply.getResponse();
+
       flushFuture = future.thenApplyAsync(e -> {
         try {
           validateResponse(e);
         } catch (IOException sce) {
           throw new CompletionException(sce);
         }
+        boolean timedOut = e.getMessage().equals("TIMEOUT");

Review Comment:
   This is a workaround to avoid further refactoring. I just need to get the 
message across without breaking other parts.



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