GlenGeng commented on a change in pull request #2116:
URL: https://github.com/apache/ozone/pull/2116#discussion_r609351035



##########
File path: 
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/protocol/StorageContainerLocationProtocolServerSideTranslatorPB.java
##########
@@ -329,6 +331,9 @@ public ScmContainerLocationResponse processRequest(
             "Unknown command type: " + request.getCmdType());
       }
     } catch (IOException e) {
+      if (SCMHAUtils.isRetriableWithNoFailoverException(e)) {

Review comment:
       Given client side has already done the check, the server side can just 
return a `ServiceException` containing the real exception.




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

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