You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/06/09 18:30:44 UTC

[GitHub] [ozone] xiaoyuyao commented on a change in pull request #2312: HDDS-5317. BootStrapped SCM fails to bootstrap if it connects to another bootstrapped SCM first.

xiaoyuyao commented on a change in pull request #2312:
URL: https://github.com/apache/ozone/pull/2312#discussion_r648564809



##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/RatisUtil.java
##########
@@ -190,6 +195,23 @@ public static void checkRatisException(IOException e, String port,
       throw new ServiceException(ServerNotLeaderException
           .convertToNotLeaderException(nle,
               SCMRatisServerImpl.getSelfPeerId(scmId), port));
+    } else if (e instanceof SCMSecurityException) {
+      // For this error client needs to retry on next SCM.

Review comment:
       Can you be more specific, change "this error" to "NOT_A_PRIMARY_SCM error"




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org